summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-04-12 21:48:06 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-04-12 21:48:06 +0000
commit92dcc59984c834e34afcdaac99c0197d63a33ac8 (patch)
treeeb25de6f69d8162ab25e130d8aa6b85c3bce5624 /lib/libc/stdio
parente264389dcab269557e4c11a85d01749c8069c994 (diff)
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