svn commit: r244045 - stable/9/lib/libc/stdio

Eitan Adler eadler at FreeBSD.org
Sun Dec 9 04:15:52 UTC 2012


Author: eadler
Date: Sun Dec  9 04:15:51 2012
New Revision: 244045
URL: http://svnweb.freebsd.org/changeset/base/244045

Log:
  MFC r243753:
  	The getline function returns the number of characters read, not
  	written. Use clearer text for this.
  
  PR:		docs/174023
  Approved by:	cperciva (implicit)

Modified:
  stable/9/lib/libc/stdio/getline.3
Directory Properties:
  stable/9/lib/libc/   (props changed)

Modified: stable/9/lib/libc/stdio/getline.3
==============================================================================
--- stable/9/lib/libc/stdio/getline.3	Sun Dec  9 01:08:44 2012	(r244044)
+++ stable/9/lib/libc/stdio/getline.3	Sun Dec  9 04:15:51 2012	(r244045)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd November 30, 2010
+.Dd November 30, 2012
 .Dt GETLINE 3
 .Os
 .Sh NAME
@@ -76,7 +76,7 @@ The
 .Fn getdelim
 and
 .Fn getline
-functions return the number of characters written, excluding the
+functions return the number of characters stored in the buffer, excluding the
 terminating
 .Dv NUL
 character.


More information about the svn-src-stable-9 mailing list