HP UX 11i v1 I/O Cards manual Zcomlog3x

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 170
Image 170

ZCOM C I/F Library Routines

ZCOMLNAME (3X)

PARAMETERS

name Name for the log message (string, 6 bytes)

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).

 

170

Chapter 4

Page 170
Image 170
HP UX 11i v1 I/O Cards manual Zcomlog3x