summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-12-01 15:25:41 +0000
committereadler <eadler@FreeBSD.org>2012-12-01 15:25:41 +0000
commit242dabb510e96151dfa1c14d7e2ffd1db8fc882a (patch)
tree0cd21de0bdeb63b67f3722d58aa19bfea91f2e59 /lib/libc
parent991e942bf20fdf0e5d8ef3a6a152c146e904a93a (diff)
downloadFreeBSD-src-242dabb510e96151dfa1c14d7e2ffd1db8fc882a.zip
FreeBSD-src-242dabb510e96151dfa1c14d7e2ffd1db8fc882a.tar.gz
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
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/getline.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/getline.3 b/lib/libc/stdio/getline.3
index 6061bfc..2161999 100644
--- a/lib/libc/stdio/getline.3
+++ b/lib/libc/stdio/getline.3
@@ -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.
OpenPOWER on IntegriCloud