diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man3/wcrtomb.3 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/wcrtomb.3')
-rw-r--r-- | man3/wcrtomb.3 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/man3/wcrtomb.3 b/man3/wcrtomb.3 index 2732832..9957bd0 100644 --- a/man3/wcrtomb.3 +++ b/man3/wcrtomb.3 @@ -9,7 +9,7 @@ .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html .\" ISO/IEC 9899:1999 .\" -.TH wcrtomb 3 2023-07-20 "Linux man-pages 6.05.01" +.TH wcrtomb 3 2023-10-31 "Linux man-pages 6.7" .SH NAME wcrtomb \- convert a wide character to a multibyte sequence .SH LIBRARY @@ -18,7 +18,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <wchar.h> -.PP +.P .BI "size_t wcrtomb(char *restrict " s ", wchar_t " wc \ ", mbstate_t *restrict " ps ); .fi @@ -45,7 +45,7 @@ returns the length of said multibyte representation, that is, the number of bytes written at .IR s . -.PP +.P A different case is when .I s is not NULL, @@ -69,7 +69,7 @@ it into the initial state), and returns the length of the shift sequence plus one, that is, the number of bytes written at .IR s . -.PP +.P A third case is when .I s is NULL. @@ -77,17 +77,17 @@ In this case, .I wc is ignored, and the function effectively returns -.PP +.P .in +4n .EX wcrtomb(buf, L\[aq]\e0\[aq], ps) .EE .in -.PP +.P where .I buf is an internal anonymous buffer. -.PP +.P In all of the above cases, if .I ps is NULL, a static anonymous @@ -124,7 +124,6 @@ T{ .BR wcrtomb () T} Thread safety MT-Unsafe race:wcrtomb/!ps .TE -.sp 1 .SH STANDARDS C11, POSIX.1-2008. .SH HISTORY @@ -136,7 +135,7 @@ depends on the .B LC_CTYPE category of the current locale. -.PP +.P Passing NULL as .I ps is not multithread safe. |