Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 04:15:52 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r244045 - stable/9/lib/libc/stdio
Message-ID:  <201212090415.qB94Fq2b082745@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212090415.qB94Fq2b082745>