ACC Programmer's Reference Guide

230 Chapter4
ZCOM C I/F Library Routines
ZLTQUEUE (3X)
ZLTQUEUE (3X)
zltqueue Logical data queue allocation
#include <zcom/zcomsys.h>
#include <zcom/zcomcall.h> /* if compliled with ANSI C (recommended) */
int32 zltqueue (appln, label, queuep)
uint32 appln;
char *label;
uint32 *queuep;
Routine zltqueue requests a data queue in the logical terminal tables for
terminals of a specific application number. There is currently a
maximum of 4 queues. Each queue is identified by the terminal
application group and a user-defined label. The returned queue number
(on successful completion) could then be used in subsequent data storing
and retrieval calls (lt qdput and ltqdget).
The libraries libzcom_c.a and libpthread.a must be linked into thecalling
program by giving the options “-lzcom_c -lpthread” to cc(1) or ld(1).