summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fgets.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-12-24 00:30:46 +0000
committeraaron <aaron@openbsd.org>2000-12-24 00:30:46 +0000
commit50772e640915b6b9c44cb3d6508fa0a5fff413ef (patch)
treee150dc67a3a933729eb0634304fc47c25501106c /lib/libc/stdio/fgets.3
parentSpelling: tripple -> triple (diff)
downloadwireguard-openbsd-50772e640915b6b9c44cb3d6508fa0a5fff413ef.tar.xz
wireguard-openbsd-50772e640915b6b9c44cb3d6508fa0a5fff413ef.zip
Various repairs, mostly to get rid of short lines.
Diffstat (limited to 'lib/libc/stdio/fgets.3')
-rw-r--r--lib/libc/stdio/fgets.314
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index a37f92f02c7..14c5885c684 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.10 2000/04/18 03:01:34 aaron Exp $
+.\" $OpenBSD: fgets.3,v 1.11 2000/12/24 00:30:58 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -51,8 +51,7 @@
.Sh DESCRIPTION
The
.Fn fgets
-function
-reads at most one less than the number of characters specified by
+function reads at most one less than the number of characters specified by
.Xr size
from the given
.Fa stream
@@ -67,8 +66,7 @@ character is appended to end the string.
.Pp
The
.Fn gets
-function
-is equivalent to
+function is equivalent to
.Fn fgets
with an infinite
.Xr size
@@ -91,8 +89,7 @@ they return
.Dv NULL .
The
.Fn fgets
-and
-functions
+and functions
.Fn gets
do not distinguish between end-of-file and error, and callers must use
.Xr feof 3
@@ -190,6 +187,5 @@ use
.Fn gets .
The
.Fn gets
-function
-exists purely to conform to
+function exists purely to conform to
.St -ansiC .