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 <pproca...@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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to