aboutsummaryrefslogtreecommitdiffstats
path: root/man2/syslog.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2004-12-10 09:03:08 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2004-12-10 09:03:08 +0000
commit527d993350663e975dab0d0cb0ceed1947bf9fe2 (patch)
tree3237c0164ebe78ed1bbf8fc481ab0640530cb7c2 /man2/syslog.2
parent25743dd7044d67ff8f2a29e0ed62f20c9d705e87 (diff)
downloadman-pages-527d993350663e975dab0d0cb0ceed1947bf9fe2.tar.gz
After a note from Vasya Pupkin, I added <errno.h> to the SYNOPSIS
of several Section 2 pages using the _syscallN() macros. In addition: -- erroneous semicolons at the end of _syscallN() were removed on various pages. -- types such as "uint" in syscalN() declarations were changed to "unsigined int", etc. -- various other minor breakages in the synopses were fixed.
Diffstat (limited to 'man2/syslog.2')
-rw-r--r--man2/syslog.22
1 files changed, 2 insertions, 0 deletions
diff --git a/man2/syslog.2 b/man2/syslog.2
index 8243b7ab15..3c2d63d521 100644
--- a/man2/syslog.2
+++ b/man2/syslog.2
@@ -37,6 +37,8 @@ syslog, klogctl \- read and/or clear kernel message ring buffer; set console_log
.B #include <unistd.h>
.br
.B #include <linux/unistd.h>
+.br
+.B #include <errno.h>
.sp
.B _syscall3(int, syslog, int, type, char *, bufp, int, len)
.sp