.. also, add entries for type==9 and type==10 to the RETURN VALUES section. Signed-off-by: Jeremy Kerr <jk@xxxxxxxxxx> --- man2/syslog.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: man-pages-2.77/man2/syslog.2 =================================================================== --- man-pages-2.77.orig/man2/syslog.2 +++ man-pages-2.77/man2/syslog.2 @@ -195,7 +195,12 @@ Otherwise, for \fItype\fP equal to 2, 3 or 4, .BR syslog () returns the number -of bytes read, and otherwise 0. +of bytes read, +for \fItype\fP equal to 9, +the number of number of unread characters in the log buffer, +for \fItype\fP equal to 10, +the total size of the log buffer, +and otherwise 0. .SH ERRORS .TP .B EINVAL - 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