log3open(5) log3open(5)
NAME
log3open - set up communication connection
SYNOPSIS
int log3open(compno, relver, usrtxt)
ulong compno; /* Unique component no. (assigned by SNI) */
char *relver; /* Release/version of component, max. 12 char. */
char *usrtxt; /* Component name */
DESCRIPTION
The connection to the log server is set up using the function
log3open.
Return value:
0 Pipe to log server open.
-1 Error. lgerrno contains the error type. lgerrno and error
return values are defined in logging.h.
In the case of repeated calls, log3close() is first executed inter-
nally.
SEE ALSO
log3(5), log3close(5), log3memcpy(5), log3printf(5), log3write(5).
Page 1 Reliant UNIX 5.44 Printed 11/98