diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:33 +0000 |
commit | 2c3307fb903f427be3d021c5780b75cac9af2ce8 (patch) | |
tree | 65cf431f40b7481d81ae2dfce9576342686448f7 /upstream/opensuse-tumbleweed/man3/open_memstream.3 | |
parent | Releasing progress-linux version 4.22.0-1~progress7.99u1. (diff) | |
download | manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.tar.xz manpages-l10n-2c3307fb903f427be3d021c5780b75cac9af2ce8.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/open_memstream.3')
-rw-r--r-- | upstream/opensuse-tumbleweed/man3/open_memstream.3 | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/open_memstream.3 b/upstream/opensuse-tumbleweed/man3/open_memstream.3 index ce9da197..d2a18ec4 100644 --- a/upstream/opensuse-tumbleweed/man3/open_memstream.3 +++ b/upstream/opensuse-tumbleweed/man3/open_memstream.3 @@ -5,28 +5,28 @@ .\" .\" 2008-12-04, Petr Baudis <pasky@suse.cz>: Document open_wmemstream() .\" -.TH open_memstream 3 2023-07-20 "Linux man-pages 6.05.01" +.TH open_memstream 3 2024-05-02 "Linux man-pages (unreleased)" .SH NAME -open_memstream, open_wmemstream \- open a dynamic memory buffer stream +open_memstream, open_wmemstream \- open a dynamic memory buffer stream .SH LIBRARY Standard C library .RI ( libc ", " \-lc ) .SH SYNOPSIS .nf .B #include <stdio.h> -.PP +.P .BI "FILE *open_memstream(char **" ptr ", size_t *" sizeloc ); -.PP +.P .B #include <wchar.h> -.PP +.P .BI "FILE *open_wmemstream(wchar_t **" ptr ", size_t *" sizeloc ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR open_memstream (), .BR open_wmemstream (): .nf @@ -45,7 +45,7 @@ Initially, the buffer has a size of zero. After closing the stream, the caller should .BR free (3) this buffer. -.PP +.P The locations pointed to by .I ptr and @@ -61,13 +61,13 @@ These values remain valid only as long as the caller performs no further output on the stream. If further output is performed, then the stream must again be flushed before trying to access these values. -.PP +.P A null byte is maintained at the end of the buffer. This byte is .I not included in the size value stored at .IR sizeloc . -.PP +.P 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. @@ -78,7 +78,7 @@ or Moving the buffer position past the end of the data already written fills the intervening space with null characters. -.PP +.P The .BR open_wmemstream () is similar to @@ -110,7 +110,6 @@ T{ .BR open_wmemstream () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS POSIX.1-2008. .SH HISTORY |