syslog.2: Clarify where SYSLOG_ACTION_READ_ALL places data it reads

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-11-28 12:43:31 +01:00
parent 1850e19a35
commit 55ed5fceec
1 changed files with 3 additions and 1 deletions

View File

@ -94,7 +94,9 @@ This is the function executed by the kernel when a user program reads
.IR /proc/kmsg .
.TP
.BR SYSLOG_ACTION_READ_ALL " (3)"
Read all messages remaining in the ring buffer.
Read all messages remaining in the ring buffer,
placing then in the buffer pointed to by
.IR bufp .
The call reads the last \fIlen\fP
bytes from the log buffer (nondestructively),
but will not read more than was written into the buffer since the