HP UX 11i v1 I/O Cards manual

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 239
Image 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

 

 

 

/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), ltqdput(3X), zltqueue(3X), zltstore(3X)

Chapter 4

239

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