HP UX 11i v1 I/O Cards manual

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 149
Image 149

ZCOM C I/F Library Routines

LTQDPUT (3X)

RETURN VALUE Routine ltqdput returns 0 if successful. Otherwise, a non-zeroerror code is returned. See /opt/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

 

 

 

/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).

SEE ALSO

ltqdget(3X), zltqueue(3X), zltstore(3X), zltup(3X)

Chapter 4

149

Page 149
Image 149
HP UX 11i v1 I/O Cards manual