summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-06-19 18:38:03 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-06-19 18:38:03 +0000
commite4432747affe03d57450935db04906bde06a5a9d (patch)
tree6edb5a426931b4ab020fac3182bd9329c80d7cb8 /lib/libc
parent18d019fb7cf03976cda821b565367d8260b8ef3d (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/getline.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/getline.3 b/lib/libc/stdio/getline.3
index 0465f9350ee5..a5b39da42515 100644
--- a/lib/libc/stdio/getline.3
+++ b/lib/libc/stdio/getline.3
@@ -78,7 +78,8 @@ and
.Fn getline
functions return the number of characters written, excluding the
terminating
-.Dv NUL .
+.Dv NUL
+character.
The value \-1 is returned if an error occurs, or if end-of-file is reached.
.Sh EXAMPLES
The following code fragment reads lines from a file and