aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-rw-r--r--man2/syslog.29
1 files changed, 8 insertions, 1 deletions
diff --git a/man2/syslog.2 b/man2/syslog.2
index 4e8f48a993..b13e3cd604 100644
--- a/man2/syslog.2
+++ b/man2/syslog.2
@@ -26,7 +26,7 @@
.\" 2008-02-15, Michael Kerrisk <mtk.manpages@gmail.com>
.\" Update LOG_BUF_LEN details; update RETURN VALUE section.
.\"
-.TH SYSLOG 2 2008-02-15 "Linux" "Linux Programmer's Manual"
+.TH SYSLOG 2 2008-06-20 "Linux" "Linux Programmer's Manual"
.SH NAME
syslog, klogctl \- read and/or clear kernel message ring buffer;
set console_loglevel
@@ -235,6 +235,13 @@ capability).
.B ERESTARTSYS
System call was interrupted by a signal; nothing was read.
(This can be seen only during a trace.)
+.TP
+.B ENOSYS
+This
+.BR syslog ()
+system call is not available, because the kernel was compiled with the
+.BR CONFIG_PRINTK
+kernel-configuration option disabled.
.SH "CONFORMING TO"
This system call is Linux-specific and should not be used in programs
intended to be portable.