diff options
author | 2003-05-17 10:30:10 +0000 | |
---|---|---|
committer | 2003-05-17 10:30:10 +0000 | |
commit | be4406f55cc1a6a8dd0978d4aeecc8a295431c08 (patch) | |
tree | 02176cbeff259c99fdaa5ec1245aebca4a575f7e /lib/libc/stdio | |
parent | Document behaviour when size = 1. ok millert@ (diff) | |
download | wireguard-openbsd-be4406f55cc1a6a8dd0978d4aeecc8a295431c08.tar.xz wireguard-openbsd-be4406f55cc1a6a8dd0978d4aeecc8a295431c08.zip |
Better English.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fgets.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index 8d0df4d816d..a192125a1ec 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgets.3,v 1.16 2003/05/17 10:28:33 pjanzen Exp $ +.\" $OpenBSD: fgets.3,v 1.17 2003/05/17 10:30:10 pjanzen Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -58,9 +58,9 @@ from the given and stores them in the string .Fa str . Reading stops when a newline character is found, -at end-of-file or error. +at end-of-file, or on error. The newline, if any, is retained. -In any case a +In any case, a .Ql \e0 character is appended to end the string. .Pp |