svn commit: r209349 - stable/8/lib/libc/stdio
Ulrich Spoerlein
uqs at FreeBSD.org
Sat Jun 19 18:38:03 UTC 2010
Author: uqs
Date: Sat Jun 19 18:38:03 2010
New Revision: 209349
URL: http://svn.freebsd.org/changeset/base/209349
Log:
MFH r200600: Clarify what's meant by NUL for getline.3
PR: docs/141125
Submitted by: Jeremy Huddleston <jeremyhu at apple.com>
Modified:
stable/8/lib/libc/stdio/getline.3
Directory Properties:
stable/8/lib/libc/ (props changed)
Modified: stable/8/lib/libc/stdio/getline.3
==============================================================================
--- stable/8/lib/libc/stdio/getline.3 Sat Jun 19 18:13:31 2010 (r209348)
+++ stable/8/lib/libc/stdio/getline.3 Sat Jun 19 18:38:03 2010 (r209349)
@@ -78,7 +78,8 @@ and
.Fn getline
functions return the number of characters written, excluding the
terminating
-.Dv NUL .
+.Dv NUL
+character.
The value \-1 is returned if an error occurs, or if end-of-file is reached.
.Sh EXAMPLES
The following code fragment reads lines from a file and
More information about the svn-src-stable
mailing list