From: Jeremy Kerr <jk-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>
To: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] syslog: document new return values
Date: Wed, 13 Feb 2008 11:37:13 +1100 [thread overview]
Message-ID: <1202863033.777067.227449740820.qpush@pokey> (raw)
.. also, add entries for type==9 and type==10 to the RETURN VALUES
section.
Signed-off-by: Jeremy Kerr <jk-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>
---
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
next reply other threads:[~2008-02-13 0:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 0:37 Jeremy Kerr [this message]
2008-02-14 18:54 ` [PATCH] syslog: document new return values Michael Kerrisk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1202863033.777067.227449740820.qpush@pokey \
--to=jk-mnsaurcq41sdnm+yrofe0a@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox