summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-04-12 21:47:47 +0000
committeraaron <aaron@openbsd.org>2000-04-12 21:47:47 +0000
commita1d216a38a1c1425b6e41ebc3e643da650bd77d0 (patch)
treedbc7126b9223660e4f5cea6f70dbc19118a8930b /lib/libc/stdio
parentbump ipf version (3.3.12a) to go with last commit (diff)
downloadwireguard-openbsd-a1d216a38a1c1425b6e41ebc3e643da650bd77d0.tar.xz
wireguard-openbsd-a1d216a38a1c1425b6e41ebc3e643da650bd77d0.zip
Trailing whitespace begone!
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fopen.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index c04c6305b04..4b060145164 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.7 1999/09/28 22:17:51 espie Exp $
+.\" $OpenBSD: fopen.3,v 1.8 2000/04/12 21:48:01 aaron Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -126,7 +126,7 @@ function associates a stream with the existing file descriptor
The
.Fa mode
of the stream must be compatible with the mode of the file descriptor.
-If
+If
.Fn fdopen
fails, the file descriptor
.Fa fildes
@@ -140,8 +140,8 @@ opens the file whose name is the string pointed to by
and associates the stream pointed to by
.Fa stream
with it.
-The original stream (if it exists) is always closed, even if
-.Fn freopen
+The original stream (if it exists) is always closed, even if
+.Fn freopen
fails.
The
.Fa mode
@@ -241,11 +241,11 @@ conforms to
.St -p1003.1-88 .
.Sh CAVEATS
Proper code using
-.Fn fdopen
+.Fn fdopen
with error checking should
.Xr close 2
.Fa fildes
-in case of failure, and
+in case of failure, and
.Xr fclose 3
the resulting FILE * in case of success.
.Bd -literal