summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-24 05:12:40 +0000
committerngie <ngie@FreeBSD.org>2015-11-24 05:12:40 +0000
commite98a8a4a446074eb86604afed77d96fe01a0b12b (patch)
tree395b4d46c3dd3e84d3f83fdb8b561eab1b82bec3 /lib/libc/stdio
parentb923a91e2c985b47c61617b8287f43bce6c02e29 (diff)
parent7f4494e3bff2bd744f653c0506896eab083f5a6c (diff)
downloadFreeBSD-src-e98a8a4a446074eb86604afed77d96fe01a0b12b.zip
FreeBSD-src-e98a8a4a446074eb86604afed77d96fe01a0b12b.tar.gz
MFhead @ r291235
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fopen.312
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index b39cb5a..f25e6df 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -120,7 +120,9 @@ This is strictly for compatibility with
.St -isoC
and has effect only for
.Fn fmemopen
-; otherwise the ``b'' is ignored.
+; otherwise
+.Dq Li b
+is ignored.
.Pp
Any created files will have mode
.Do Dv S_IRUSR
@@ -230,7 +232,9 @@ allocates
.Fa size
bytes of memory. This buffer is automatically freed when the
stream is closed. Buffers can be opened in text-mode (default) or binary-mode
-(if ``b'' is present in the second or third position of the
+(if
+.Dq Li b
+is present in the second or third position of the
.Fa mode
argument). Buffers opened in text-mode make sure that writes are terminated with
a NULL byte, if the last write hasn't filled up the whole buffer. Buffers
@@ -343,5 +347,7 @@ The
function
conforms to
.St -p1003.1-2008 .
-The ``b'' mode does not conform to any standard
+The
+.Dq Li b
+mode does not conform to any standard
but is also supported by glibc.
OpenPOWER on IntegriCloud