aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-03-09 05:09:37 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-09 05:12:56 +0100
commit31a3c488475b48dfea04a7b63c5b72b13c50bdc5 (patch)
treec20131a150961ca81116cc30e6a64830bcad96fd
parenta6bd38c621fdad675c671178163e902db63389ab (diff)
downloadman-pages-31a3c488475b48dfea04a7b63c5b72b13c50bdc5.tar.gz
open_memstream.3: Add some details on current buffer position
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/open_memstream.35
1 files changed, 4 insertions, 1 deletions
diff --git a/man3/open_memstream.3 b/man3/open_memstream.3
index 68ddeb776c..ce4cbaaf35 100644
--- a/man3/open_memstream.3
+++ b/man3/open_memstream.3
@@ -77,7 +77,10 @@ This byte is
included in the size value stored at
.IR sizeloc .
-The stream's buffer position can be changed with
+The stream maintains the notion of a current position,
+which is initially zero (the start of the buffer).
+Each write operation implicitly adjusts the buffer position.
+The stream's buffer position can be explicitly changed with
.BR fseek (3)
or
.BR fseeko (3).