ACC Programmer's Reference Guide

170 Chapter4
ZCOM C I/F Library Routines
ZCOMLNAME (3X)
PARAMETERS
RETURN VALUE Routine zcomlname has no return value.
NOTES In a multi-threaded application, zcomlname is to be called only once by
any one of the threads. It sets up t he logging program name for the
subsequent calls to zcomlog for all threads. If it is called again, the new
program name is effective for the subsequent log messages.
EXAMPLE
#include <zcom/zcomsys.h>
#include <zcom/zcomcall.h>
char name[6];
zcomlname (name);
FILES
SEE ALSO zcomlog(3x).
name Name for the log message (string, 6 bytes)
/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).