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 <jerem...@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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"