Since 2.6.6, we've had another type (10) option to the syslog syscall, this change adds it to the syslog manpage. Signed-off-by: Jeremy Kerr <jk@xxxxxxxxxx> --- man2/syslog.2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Index: man-pages-2.77/man2/syslog.2 =================================================================== --- man-pages-2.77.orig/man2/syslog.2 +++ man-pages-2.77/man2/syslog.2 @@ -66,19 +66,20 @@ Quoting from * 7 \-\- Enable printk's to console * 8 \-\- Set level of messages printed to console * 9 \-\- Return number of unread characters in the log buffer + * 10 \-\- Return size of the log buffer */ .fi -Only function 3 is allowed to non-root processes. -(Function 9 was added in 2.4.10.) +Only functions 3 and 10 are allowed to non-root processes. +(Function 9 was added in 2.4.10, function 10 in 2.6.6) .B The kernel log buffer .br The kernel has a cyclic buffer of length .B LOG_BUF_LEN (4096, since 1.3.54: 8192, since 2.1.113: 16384; in recent kernels -the size can be set at compile time) in which messages given as argument -to the kernel function +the size can be queried with function 10) in which messages given as +argument to the kernel function .BR printk () are stored (regardless of their loglevel). - To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html