diff --git a/man2/syslog.2 b/man2/syslog.2 index 1641c1285..5053b88f8 100644 --- a/man2/syslog.2 +++ b/man2/syslog.2 @@ -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