aboutsummaryrefslogtreecommitdiffstats
path: root/man2/syslog.2
diff options
context:
space:
mode:
authorGanimedes Colomar <gacoan.linux@gmail.com>2020-12-30 16:20:25 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-12-30 16:55:39 +0100
commit632d11529495d1ff329bece9f16ec38d06828f96 (patch)
tree330bb49e026d6529a2d9a5e047a8d1eaa364f25c /man2/syslog.2
parent3c8813156de7a3da0d344221453018435d64bf11 (diff)
downloadman-pages-632d11529495d1ff329bece9f16ec38d06828f96.tar.gz
Various pages: Normalize SYNOPSIS notes about nonexistent glibc wrappers
To easily distinguish documentation about glibc wrappers from documentation about kernel syscalls, let's have a normalized 'Note' in the SYNOPSIS, and a further explanation in the page body (NOTES in most of them), as already happened in many (but not all) of the manual pages for syscalls without a wrapper. Furthermore, let's normalize the messages, following membarrier.2 (because it's already quite extended), so that it's easy to use grep to find those pages. To find these pages, we used: $ grep -rn wrapper man? | sort -V and $ grep -rni support.*glibc | sort -V delete_module.2, init_module.2: glibc 2.23 is no longer maintained, so we changed the notes about wrappers, to say that there are no glibc wrappers for these system calls; see NOTES. We didn't fix some obsolete pages such as create_module.2. Signed-off-by: Ganimedes Colomar <gacoan.linux@gmail.com> Cowritten-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/syslog.2')
-rw-r--r--man2/syslog.21
1 files changed, 0 insertions, 1 deletions
diff --git a/man2/syslog.2 b/man2/syslog.2
index c6d6dcc94f..133ba21211 100644
--- a/man2/syslog.2
+++ b/man2/syslog.2
@@ -36,7 +36,6 @@ set console_loglevel
.SH SYNOPSIS
.nf
.BI "int syslog(int " type ", char *" bufp ", int " len );
-.B " /* No wrapper provided in glibc */"
.PP
/* The glibc interface */
.B "#include <sys/klog.h>"