ZCOM C I/F Library Routines

ZEVENT_RCVR (3X)

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

 

int

ierr;

 

 

zaddr_type

rzap;

 

 

int

action;

 

 

uin32

eclass;

 

 

Zclinfo_type

cinfo;

 

 

if (ierr = zevent_rcvr (&rzap, action, eclass, &cinfo)) {

 

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

SEE ALSO

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

 

232

Chapter 4