ZCOM C I/F Library Routines

ZLTQUEUE (3X)

EXAMPLE

#include

<zcom/zcomsys.h>

 

 

#include

<zcom/zcomcall.h>

 

 

int32

ierr;

 

 

uint32

appln;

 

 

char

label[6];

 

 

uint32

queue

 

 

if (ierr = zltqueue (appln, label, &queue)) {

 

/* error return code */

 

 

}

 

 

 

else {

 

 

 

/* good return code */

 

 

}

 

 

FILES

 

 

 

 

/opt/acc/include/zcom/zcomsys.h

ZCOM subsystem 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

ltqdget(3X), ltqdput(3X), zltstore(3X), zltup(3X)

Chapter 4

251

Page 251
Image 251
HP Advanced Communications Controllers (ACC) manual