summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/wcstombs.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/wcstombs.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/wcstombs.311
1 files changed, 5 insertions, 6 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/wcstombs.3 b/upstream/opensuse-tumbleweed/man3/wcstombs.3
index a813615f..4d3ef56e 100644
--- a/upstream/opensuse-tumbleweed/man3/wcstombs.3
+++ b/upstream/opensuse-tumbleweed/man3/wcstombs.3
@@ -9,7 +9,7 @@
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH wcstombs 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH wcstombs 3 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
wcstombs \- convert a wide-character string to a multibyte string
.SH LIBRARY
@@ -18,7 +18,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <stdlib.h>
-.PP
+.P
.BI "size_t wcstombs(char " dest "[restrict ." n "], \
const wchar_t *restrict " src ,
.BI " size_t " n );
@@ -59,13 +59,13 @@ In this case, the conversion ends in the initial shift state.
The number of bytes written to
.IR dest ,
excluding the terminating null byte (\[aq]\e0\[aq]), is returned.
-.PP
+.P
The programmer must ensure that there is room for at least
.I n
bytes
at
.IR dest .
-.PP
+.P
If
.I dest
is NULL,
@@ -73,7 +73,7 @@ is NULL,
is ignored, and the conversion proceeds as
above, except that the converted bytes are not written out to memory,
and no length limit exists.
-.PP
+.P
In order to avoid the case 2 above, the programmer should make sure
.I n
is greater than or equal to
@@ -102,7 +102,6 @@ T{
.BR wcstombs ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
The function
.BR wcsrtombs (3)