Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2012 15:25:42 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243753 - head/lib/libc/stdio
Message-ID:  <201212011525.qB1FPgQT038657@svn.freebsd.org>

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



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