]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/syslog.2
Automated addition of parentheses by add_parens_for_own_funcs.sh
[thirdparty/man-pages.git] / man2 / syslog.2
index 6969337ca5647b9bd2916727905c02c2f3d208d4..befb390445b9374fe21610d0bb5e45d25b3c993c 100644 (file)
@@ -89,7 +89,7 @@ to the kernel function \fIprintk\fP() are stored
 (regardless of their loglevel).
 
 The call
-.B syslog
+.BR syslog ()
 .RI (2, buf , len )
 waits until this kernel log buffer is nonempty, and then reads
 at most \fIlen\fP bytes into the buffer \fIbuf\fP. It returns
@@ -100,7 +100,7 @@ reads
 .IR /proc/kmsg .
 
 The call
-.B syslog
+.BR syslog ()
 .RI (3, buf , len )
 will read the last \fIlen\fP bytes from the log buffer (nondestructively),
 but will not read more than was written into the buffer since the
@@ -108,12 +108,12 @@ last `clear ring buffer' command (which does not clear the buffer at all).
 It returns the number of bytes read.
 
 The call
-.B syslog
+.BR syslog ()
 .RI (4, buf , len )
 does precisely the same, but also executes the `clear ring buffer' command.
 
 The call
-.B syslog
+.BR syslog ()
 .RI (5, dummy , idummy )
 only executes the `clear ring buffer' command.
 
@@ -127,10 +127,10 @@ but is set to 10 if the
 kernel command line contains the word `debug', and to 15 in case
 of a kernel fault (the 10 and 15 are just silly, and equivalent to 8).
 This variable is set (to a value in the range 1-8) by the call
-.B syslog
+.BR syslog ()
 .RI (8, dummy , value ).
 The calls
-.B syslog
+.BR syslog ()
 .RI ( type , dummy , idummy )
 with \fItype\fP equal to 6 or 7, set it to 1 (kernel panics only)
 or 7 (all except debugging messages), respectively.
@@ -179,7 +179,7 @@ different animals.
 In libc4 and libc5 the number of this call was defined by
 .BR SYS_klog .
 In glibc 2.0 the syscall is baptised
-.BR klogctl .
+.BR klogctl ().
 
 .SH "SEE ALSO"
 .BR syslog (3)