diff options
| -rw-r--r-- | man3/fmemopen.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/man3/fmemopen.3 b/man3/fmemopen.3 index 0205969a60..d7f255ab33 100644 --- a/man3/fmemopen.3 +++ b/man3/fmemopen.3 @@ -33,12 +33,13 @@ is the same as for If .I mode specifies an append mode, then the initial file position is set to -location of the first null byte (\(aq\\0\(aq) in the buffer; +the location of the first null byte (\(aq\\0\(aq) in the buffer; otherwise the initial file position is set to the start of the buffer. -Since glibc 2.9, the letter 'b' may be specified as the second character in +Since glibc 2.9, +the letter 'b' may be specified as the second character in .IR mode . This provides "binary" mode: -writes don't add a terminating null byte, and a +writes don't implicitly add a terminating null byte, and a .BR fseek (3) .B SEEK_END is relative to the end of the buffer (i.e., the value specified by the |
