summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-11-23 12:47:08 +0000
committerdes <des@FreeBSD.org>2015-11-23 12:47:08 +0000
commit643090321a0a0dcd32c9c52721f41a1bd51553ca (patch)
treec0d68121f7b2c8d5aa2ef3484f2c5b804d2bff8f /lib/libc/stdio
parent40737e57a96202948d86f2ad6aeb8ab55701c45e (diff)
downloadFreeBSD-src-643090321a0a0dcd32c9c52721f41a1bd51553ca.zip
FreeBSD-src-643090321a0a0dcd32c9c52721f41a1bd51553ca.tar.gz
markup fixes
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