svn commit: r243753 - head/lib/libc/stdio

Eitan Adler eadler at FreeBSD.org
Sat Dec 1 15:25:42 UTC 2012


Author: eadler
Date: Sat Dec  1 15:25:41 2012
New Revision: 243753
URL: http://svnweb.freebsd.org/changeset/base/243753

Log:
  The getline function returns the number of characters read, not
  written. Use clearer text for this.
  
  PR:		docs/174023
  Submitted by:	Paul Procacci <pprocacci at gmail.com>
  Approved by:	bcr (mentor)
  MFC after:	1 week

Modified:
  head/lib/libc/stdio/getline.3

Modified: head/lib/libc/stdio/getline.3
==============================================================================
--- head/lib/libc/stdio/getline.3	Sat Dec  1 15:11:46 2012	(r243752)
+++ head/lib/libc/stdio/getline.3	Sat Dec  1 15:25:41 2012	(r243753)
@@ -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-all mailing list