syslog.2: Rework introductory paragraph

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-26 14:46:03 +02:00
parent 2bbf2299df
commit 7fdbbd1ed4
1 changed files with 12 additions and 7 deletions

View File

@ -44,15 +44,20 @@ set console_loglevel
.BI "int klogctl(int " type ", char *" bufp ", int " len );
.fi
.SH DESCRIPTION
If you need the C library function
.IR Note :
Probably, you are looking for the C library function
.BR syslog (),
which talks to
.BR syslogd (8);
see
.BR syslog (3)
for details.
This page describes the kernel
.BR syslog ()
(which talks to
.BR syslogd (8)),
then look at
.BR syslog (3).
The system call of this name is about controlling the kernel
system call, which is used to control the kernel
.IR printk ()
buffer, and the glibc wrapper function is called
buffer; the glibc wrapper function for the system call is called
.BR klogctl ().
.SS The kernel log buffer
The kernel has a cyclic buffer of length