fmemopen.3: Minor fix: reorder a paragraph

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-03-09 04:19:52 +01:00
parent f39842ae12
commit f29c8cd8e9
1 changed files with 8 additions and 8 deletions

View File

@ -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