Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/syslog.2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man2/syslog.2 b/man2/syslog.2 index b3b205172..46928df49 100644 --- a/man2/syslog.2 +++ b/man2/syslog.2 @@ -35,10 +35,14 @@ syslog, klogctl \- read and/or clear kernel message ring buffer; set console_loglevel .SH SYNOPSIS .nf -.BI "int syslog(int " type ", char *" bufp ", int " len ); +.BR "#include <sys/klog.h>" " /* Definition of " SYSLOG_* " constants */" +.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */" +.B #include <unistd.h> +.PP +.BI "int syscall(SYS_syslog, int " type ", char *" bufp ", int " len ); .PP /* The glibc interface */ -.B "#include <sys/klog.h>" +.B #include <sys/klog.h> .PP .BI "int klogctl(int " type ", char *" bufp ", int " len ); .fi -- 2.32.0