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
This commit is contained in:
Eitan Adler 2012-12-01 15:25:41 +00:00
parent 16648b4fff
commit 8c039ae154

View File

@ -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.