ACC Programmer's Reference Guide

Chapter 4 239
ZCOM C I/F Library Routines
ZLTUP (3X)
EXAMPLE
#include <zcom/zcomsys.h>
#include <zcom/zcomcall.h>
int32 ierr;
zaddr_type zaddr;
char ibuf[size]; /* where size is user-defined; must be >= len */
int32 len;
int32 offset;
if (ierr = zltup (&zaddr, ibuf, len, offset)) {
/* error return code */
}
else {
/* good return code */
}
FILES
SEE ALSO ltqdget(3X), ltqdput(3X), zltqueue(3X), zltstore(3X)
/opt/acc/include/zcom/zcomsys.h ZCOM subsystem general include file,
containing data types, data structures,
constants, error codes, masks, etc. Note that
this must be the first include file before any
other ZCOM include files.
/opt/acc/include/zcom/zcomcall.h ZCOM routine function prototypes
(requires ANSI C compilation).