HP UX 11i v1 I/O Cards manual Files

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 213
Image 213

ZCOM C I/F Library Routines

ZEVENT_RCVR (3X)

RETURN VALUE Routine zevent_rcvr 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>

intierr; zaddr_type rzap;

intaction;

uin32 eclass; Zclinfo_type cinfo;

if (ierr = zevent_rcvr (&rzap, action, eclass, &cinfo)) { /* error return code */

}

else {

/* good return code */

}

FILES

SEEALSO

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

zread(3X), zconfig(3X).

 

Chapter 4

213

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