HP UX 11i v1 I/O Cards manual 226

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 226
Image 226

ZCOM C I/F Library Routines

ZLTMG (3X)

EXAMPLE#include <zcom/zcomsys.h> #include <zcom/zcomcall.h>

int32 ierr; zaddr_type zaddr; zaddr_type nzaddr;

if (ierr = zltmg (&zaddr, &nzaddr)) { <error return code>

}

else {

<good return code>

}

FILES

/opt/acc/include/zcom/zcomsys.h

ZCOM system general include file,

 

 

containing data types, data structures,

 

 

constants, error codes, masks, etc.

 

 

(Note: must be the first include file before

 

 

any other ZCOM include files)

 

/opt/acc/include/zcom/zcomcall.h

ZCOM routine function prototypes

 

 

(Note: requires ANSI C compilation)

226

Chapter 4

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