summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fopen.3
diff options
context:
space:
mode:
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 502a049..eb39376 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
OpenPOWER on IntegriCloud