*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> log (9)              
Title
Content
Arch
Section
 

LOG(9)

Contents


NAME    [Toc]    [Back]

     log - log a message from the kernel through the /dev/klog device

SYNOPSIS    [Toc]    [Back]

     #include <sys/syslog.h>

     void
     log(int level, const char *format, ...);

DESCRIPTION    [Toc]    [Back]

     The log() function allows the kernel to send messages to user processes
     listening on /dev/klog.  Usually syslogd(8) monitors /dev/klog for these
     messages and writes them to a log file.

     All messages are logged using facility LOG_KERN.  See syslog(3) for a
     listing of log levels.

SEE ALSO    [Toc]    [Back]

      
      
     syslog(3), syslogd(8)

BSD                              May 12, 1997                              BSD
[ Back ]
 Similar pages
Name OS Title
add_net_randomness OpenBSD device kernel interface
add_true_randomness OpenBSD device kernel interface
get_random_bytes OpenBSD device kernel interface
add_tty_randomness OpenBSD device kernel interface
arc4random OpenBSD device kernel interface
random OpenBSD device kernel interface
add_timer_randomness OpenBSD device kernel interface
add_mouse_randomness OpenBSD device kernel interface
add_disk_randomness OpenBSD device kernel interface
add_audio_randomness OpenBSD device kernel interface
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service