diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-06-21 13:47:08 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-06-21 13:47:08 +0000 |
commit | 02e9a4ba4cf379e94b629e40e48e36c46bca7110 (patch) | |
tree | bc3d2cf3b3e74235f3097388873170bdb43db6b5 /lib/libc | |
parent | 0c02609038cbac5aa31724b84d860042e34dee30 (diff) |
The `len' argument is guaranteed to be > 0 upon successful completion.
ok jmc@ ray@ millert@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/fgetln.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fgetln.3 b/lib/libc/stdio/fgetln.3 index 277cb5318cb..fd877f01295 100644 --- a/lib/libc/stdio/fgetln.3 +++ b/lib/libc/stdio/fgetln.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgetln.3,v 1.14 2007/05/31 19:19:31 jmc Exp $ +.\" $OpenBSD: fgetln.3,v 1.15 2007/06/21 13:47:07 moritz Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: June 21 2007 $ .Dt FGETLN 3 .Os .Sh NAME @@ -50,7 +50,7 @@ character. The length of the line, including the final newline, is stored in the memory location to which .Fa len -points. +points and is guaranteed to be greater than 0 upon successful completion. (Note, however, that if the last line in the stream does not end in a newline, the returned text will not contain a newline.) .Sh RETURN VALUES |