(regardless of their loglevel).
The call
-.B syslog
+.BR syslog ()
.RI (2, buf , len )
waits until this kernel log buffer is nonempty, and then reads
at most \fIlen\fP bytes into the buffer \fIbuf\fP. It returns
.IR /proc/kmsg .
The call
-.B syslog
+.BR syslog ()
.RI (3, buf , len )
will read the last \fIlen\fP bytes from the log buffer (nondestructively),
but will not read more than was written into the buffer since the
It returns the number of bytes read.
The call
-.B syslog
+.BR syslog ()
.RI (4, buf , len )
does precisely the same, but also executes the `clear ring buffer' command.
The call
-.B syslog
+.BR syslog ()
.RI (5, dummy , idummy )
only executes the `clear ring buffer' command.
kernel command line contains the word `debug', and to 15 in case
of a kernel fault (the 10 and 15 are just silly, and equivalent to 8).
This variable is set (to a value in the range 1-8) by the call
-.B syslog
+.BR syslog ()
.RI (8, dummy , value ).
The calls
-.B syslog
+.BR syslog ()
.RI ( type , dummy , idummy )
with \fItype\fP equal to 6 or 7, set it to 1 (kernel panics only)
or 7 (all except debugging messages), respectively.
In libc4 and libc5 the number of this call was defined by
.BR SYS_klog .
In glibc 2.0 the syscall is baptised
-.BR klogctl .
+.BR klogctl ().
.SH "SEE ALSO"
.BR syslog (3)