summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getline.3
diff options
context:
space:
mode:
authormatteo <matteo@FreeBSD.org>2009-12-16 04:19:23 +0000
committermatteo <matteo@FreeBSD.org>2009-12-16 04:19:23 +0000
commitfbf6bc755d9348f8fdac7ce114675df2c9424cee (patch)
tree10277dd369b8afb0b0d0763d4e59b3c666077bd7 /lib/libc/stdio/getline.3
parent0efea5999c4270a5bb97b68cec57518233ce8a10 (diff)
downloadFreeBSD-src-fbf6bc755d9348f8fdac7ce114675df2c9424cee.zip
FreeBSD-src-fbf6bc755d9348f8fdac7ce114675df2c9424cee.tar.gz
Diffstat (limited to 'lib/libc/stdio/getline.3')
-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 0465f93..a5b39da 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
OpenPOWER on IntegriCloud