Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

log3(5)

log3close(5)

log3memcpy(5)

log3open(5)

log3printf(5)

log3write(5)                                                   log3write(5)

NAME
     log3write - transfer log data to the log server

SYNOPSIS
     int log3write(erno, level, structid)
     ushort erno;                               /* Error number      */
     ushort level;                             /* Severity of error  */
     ushort structid;         /* Structure ID for subsequent data    */
                                    /* 0 = no structure ID necessary  */

DESCRIPTION
     With the function log3write, the log data is transferred from the log
     buffer to the log server.

     Return value:

     0    Log data were sent to the log server.

     -1   Error. lgerrno contains the error type. lgerrno and error
          return values are defined in logging.h.

     If errors occurred when writing (errno=EBADF, EPIPE, EAGAIN), an
     attempt is made to reopen the pipe. This process is repeated a maximum
     of five times.

     The pipe is always closed before an error exit.

SEE ALSO
     log3(5), log3close(5), log3memcpy(5), log3open(5), log3printf(5).


























Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026