ULOS Manual Pages - syslog(2) | Back

NAME
  syslog - get a handle to the system log

DESCRIPTION
  The syslog API provides a method for userspace programs to write to the system log.  Note that system log messages will usually only appear on the first terminal registered with the system, i.e. the one on which the boot console was presented.

FUNCTIONS
  open([pname:string]): number
    Returns a number which effectively acts as a file descriptor to the system log.

  write(n:number, ...): boolean
    Writes the specified message to the system log, using the log descriptor n.

  close(n:number): boolean
    Closes (unregisters) the specified log descriptor n.

COPYRIGHT
  Cynosure kernel copyright (c) 2021 Ocawesome101 under the DSLv2.

REPORTING BUGS
  Bugs should be reported at https://github.com/ocawesome101/oc-cynosure/issues.