ZCOM C I/F Library Routines

ZSET_RCVR (3X)

EXAMPLE

#include

<zcom/zcomsys.h>

 

 

#include

<zcom/zcomcall.h>

 

 

int32

ierr;

 

 

int

action;

 

 

zaddr_type

zaddr;

 

 

uint32

mode;

 

 

zaddr_type

raddr;

 

 

if (ierr = zset_rcvr (action, &zaddr, mode, &raddr)) {

 

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

zltmx(3X), zevent_rcvr(3X), zpeek(3X), zread(3X)

Chapter 4

325