summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fopen.3
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit2efeeba554cbd7bdee9cfe17641c8bd335c7972f (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/stdio/fopen.3
parent3ca4c01eea0e54f4f560aff65f774d6bd0b0b87c (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/fopen.3')
-rw-r--r--lib/libc/stdio/fopen.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index 502a04955a76..eb393763281b 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -137,8 +137,7 @@ The
.Fn fdopen
function associates a stream with the existing file descriptor,
.Fa fildes .
-The
-.Fa mode
+The mode
of the stream must be compatible with the mode of the file descriptor.
When the stream is closed via
.Xr fclose 3 ,
@@ -186,7 +185,8 @@ is set to indicate the error.
.It Bq Er EINVAL
The
.Fa mode
-provided to
+argument
+to
.Fn fopen ,
.Fn fdopen ,
or