diff options
author | des <des@FreeBSD.org> | 2016-01-26 08:46:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2016-01-26 08:46:02 +0000 |
commit | 353d701dcd841398ae1e66cb81d2d7f2ad335d6b (patch) | |
tree | a805721add4e68bdd63290c14f869f931f357cd3 /lib/libc/stdio | |
parent | 56367bf67911deb37712833b7971e3d4a547b9cf (diff) | |
download | FreeBSD-src-353d701dcd841398ae1e66cb81d2d7f2ad335d6b.zip FreeBSD-src-353d701dcd841398ae1e66cb81d2d7f2ad335d6b.tar.gz |
MFH (r291197): markup fixes
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fopen.3 | 12 |
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. |