diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-09 04:19:52 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-09 04:19:52 +0100 |
commit | f29c8cd8e956479fe8edc60f7dd3eade34601cf4 (patch) | |
tree | cf04b10fb549af0d7fb4fb40caf779a0bdaf3a06 | |
parent | f39842ae123ac40f91363c548066fa6d301af4e3 (diff) | |
download | man-pages-f29c8cd8e956479fe8edc60f7dd3eade34601cf4.tar.gz |
fmemopen.3: Minor fix: reorder a paragraph
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/fmemopen.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man3/fmemopen.3 b/man3/fmemopen.3 index e8487dc07c..c8838d1551 100644 --- a/man3/fmemopen.3 +++ b/man3/fmemopen.3 @@ -126,6 +126,14 @@ buffer counts that byte) to allow for this. +In a stream opened for reading, +null bytes (\(aq\\0\(aq) in the buffer do not cause read +operations to return an end-of-file indication. +A read from the buffer will indicate end-of-file +only when the file current position advances +.I size +bytes past the start of the buffer. + Attempts to write more than .I size bytes to the buffer result in an error. @@ -147,14 +155,6 @@ of the buffer's size, using: .\" See http://sourceware.org/bugzilla/show_bug.cgi?id=1995 .\" and .\" http://sources.redhat.com/ml/libc-alpha/2006-04/msg00064.html -.PP -In a stream opened for reading, -null bytes (\(aq\\0\(aq) in the buffer do not cause read -operations to return an end-of-file indication. -A read from the buffer will indicate end-of-file -only when the file current position advances -.I size -bytes past the start of the buffer. .\" .SS open_memstream() and open_wmemstream() The |