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:
parent
16648b4fff
commit
8c039ae154
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user