ACC Programmer's Reference Guide

Chapter 4 149
ZCOM C I/F Library Routines
LTQDPUT (3X)
RETURN VALUE Routine ltqdput returns 0 if successful. Otherwise, a non-zero error
code is returned. See /o pt/acc/include/zcom/zcomsys.h for the list of
ZCOM error codes and their meanings.
EXAMPLE
#include <zcom/zcomsys.h>
#include <zcom/zcomcall.h>
int32 ierr;
zaddr_type zaddr;
uint32 queue;
char ibuf[size];
int32 len;
if (ierr = ltqdput (&zaddr, queue, ibuf, len)) {
/* error return code */
}
else {
/* good return code */
}
FILES
SEE ALSO ltqdget(3X), zltqueue(3X), zltstore(3X), zltup(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).