Date: Wed, 16 Dec 2009 04:19:23 +0000 (UTC) From: Matteo Riondato <matteo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200600 - head/lib/libc/stdio Message-ID: <200912160419.nBG4JNbR084768@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matteo Date: Wed Dec 16 04:19:23 2009 New Revision: 200600 URL: http://svn.freebsd.org/changeset/base/200600 Log: Modified: head/lib/libc/stdio/getline.3 Modified: head/lib/libc/stdio/getline.3 ============================================================================== --- head/lib/libc/stdio/getline.3 Wed Dec 16 03:29:00 2009 (r200599) +++ head/lib/libc/stdio/getline.3 Wed Dec 16 04:19:23 2009 (r200600) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912160419.nBG4JNbR084768>