diff options
| author | Matteo Riondato <matteo@FreeBSD.org> | 2009-12-16 04:19:23 +0000 |
|---|---|---|
| committer | Matteo Riondato <matteo@FreeBSD.org> | 2009-12-16 04:19:23 +0000 |
| commit | 5d26f10fbb59d2b3d6726ff3bab205ee468f11e3 (patch) | |
| tree | 10277dd369b8afb0b0d0763d4e59b3c666077bd7 /lib/libc/stdio | |
| parent | e999537881a89a090b24634fa14e572f7219ac82 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio')
| -rw-r--r-- | lib/libc/stdio/getline.3 | 3 |
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 |
