~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man2/syslog.2

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 
96
96
The call
97
97
.I "syslog(2,buf,len)"
98
 
waits until this kernel log buffer is non-empty, and then reads
 
98
waits until this kernel log buffer is nonempty, and then reads
99
99
at most \fIlen\fP bytes into the buffer \fIbuf\fP.
100
100
It returns
101
101
the number of bytes read.
107
107
 
108
108
The call
109
109
.I syslog(3,buf,len)
110
 
will read the last \fIlen\fP bytes from the log buffer (non-destructively),
 
110
will read the last \fIlen\fP bytes from the log buffer (nondestructively),
111
111
but will not read more than was written into the buffer since the
112
112
last "clear ring buffer" command (which does not clear the buffer at all).
113
113
It returns the number of bytes read.
256
256
.SH "SEE ALSO"
257
257
.BR syslog (3)
258
258
.SH COLOPHON
259
 
This page is part of release 3.23 of the Linux
 
259
This page is part of release 3.24 of the Linux
260
260
.I man-pages
261
261
project.
262
262
A description of the project,