From 0adbf43a032957cb80c5ce5ecb58d4c422ad230c Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 29 Nov 2012 15:19:42 +0100 Subject: [PATCH] syslog.2: Clarify SYSLOG_ACTION_SIZE_UNREAD semantics SYSLOG_ACTION_SIZE_UNREAD returns the number of bytes available for reading via SYSLOG_ACTION_READ. Signed-off-by: Michael Kerrisk --- man2/syslog.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/syslog.2 b/man2/syslog.2 index 4dd9c09c9..31feedaa8 100644 --- a/man2/syslog.2 +++ b/man2/syslog.2 @@ -163,7 +163,8 @@ argument is ignored. .BR SYSLOG_ACTION_SIZE_UNREAD " (9) (since Linux 2.4.10)" The call returns the number of bytes currently available to be read -on the kernel log buffer. +from the kernel log buffer via command 2 +.RB ( SYSLOG_ACTION_READ ). The .I bufp and