ZCOM C I/F Library Routines

ZLTMX (3X)

EXAMPLE

#include

<zcom/zcomsys.h>

 

#include

<zcom/zcomcall.h>

 

int32

ierr;

 

zaddr_type

zaddr;

 

int32

mode;

if (ierr = zltmx (&zaddr, mode)) { /* 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 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).

Chapter 4

229

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