summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/fgets.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index da95e9d8fb8..d459f35958f 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.27 2007/08/08 07:20:45 ray Exp $
+.\" $OpenBSD: fgets.3,v 1.28 2007/09/07 05:17:59 cloder Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 8 2007 $
+.Dd $Mdocdate: September 7 2007 $
.Dt FGETS 3
.Os
.Sh NAME
@@ -180,7 +180,7 @@ correctly assume the end of the string is represented by a NUL
character.
If the first character of a line returned by
.Fn fgets
-were null,
+were NUL,
.Fn strchr
would immediately return without considering the rest of the returned text
which may indeed include a newline.