ZCOM C I/F Library Routines

ZCOMLNAME (3X)

PARAMETERS

nam Name for the log message (string, 6 bytes) e

RETURN VALUE Routine zcomlname has no return value.

NOTESIn a multi-threaded application, zcomlname is to be called only once by any one of the threads. It sets up the 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

 

 

 

/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

zcomlog(3x).

 

182

Chapter 4