Reference Guide
ZCOM C I/F Library Routines
MAKEZLUNAME (3X)
Chapter 4 161
For multi-threaded application, since all threads will be from the
same TTY, if the threads use the same name parameter, the same
ZLU name will be returned.
This routine uses an internal static buffer for temporary storage
of the returned name. The buffer is overwritten by each call.
EXAMPLE
#include <zcom/zcomsys.h>
#include <zcom/zcomcall.h>
char *zluname; /* Returned ZLU name string */
char name[8];
zluname = makezluname (name);
FILES
SEE ALSO zopen(3x), ttyname(3c)
/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).