diff options
| author | Ulrich Spörlein <uqs@FreeBSD.org> | 2010-06-19 18:38:03 +0000 |
|---|---|---|
| committer | Ulrich Spörlein <uqs@FreeBSD.org> | 2010-06-19 18:38:03 +0000 |
| commit | e4432747affe03d57450935db04906bde06a5a9d (patch) | |
| tree | 6edb5a426931b4ab020fac3182bd9329c80d7cb8 /lib/libc | |
| parent | 18d019fb7cf03976cda821b565367d8260b8ef3d (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -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 |
