ZCOM C I/F Library Routines

 

 

ZQMVE (3X)

PARAMETERS

 

 

 

zap ZCOM address from which to get the message.

 

dzap Destination ZCOM address (if NULL, then the message will be flushed).

RETURN VALUE

Routine zqmve 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

Example 1:

 

 

#include

<zcom/zcomsys.h>

 

#include

<zcom/zcomcall.h>

 

int32

ierr;

 

zaddr_type

zaddr;

 

zaddr_type

daddr;

if (ierr = zqmve (&zaddr, &daddr)) { /* error return code */

}

else {

/* good return code */

}

Example 2: - (how to flush)

while(zqmve(&zaddr, NULL) == NULL);

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

265

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