From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/c/string%2Fmultibyte%2Fmbstate_t.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 devdocs/c/string%2Fmultibyte%2Fmbstate_t.html (limited to 'devdocs/c/string%2Fmultibyte%2Fmbstate_t.html') diff --git a/devdocs/c/string%2Fmultibyte%2Fmbstate_t.html b/devdocs/c/string%2Fmultibyte%2Fmbstate_t.html new file mode 100644 index 00000000..bed230ed --- /dev/null +++ b/devdocs/c/string%2Fmultibyte%2Fmbstate_t.html @@ -0,0 +1,18 @@ +

mbstate_t

Defined in header <uchar.h> (since C11)
Defined in header <wchar.h>
struct mbstate_t;
+
(since C95)

The type mbstate_t is a trivial non-array type that can represent any of the conversion states that can occur in an implementation-defined set of supported multibyte character encoding rules. Zero-initialized value of mbstate_t represents the initial conversion state, although other values of mbstate_t may exist that also represent the initial conversion state.

+

Possible implementation of mbstate_t is a struct type holding an array representing the incomplete multibyte character, an integer counter indicating the number of bytes in the array that have been processed, and a representation of the current shift state.

+

The following functions should not be called from multiple threads without synchronization with the mbstate_t* argument of a null pointer due to possible data races: mbrlen, mbrtowc, mbsrtowcs, mbtowc, wcrtomb, wcsrtombs, wctomb.

+

References

See also

+ +
+
(C95)
checks if the mbstate_t object represents initial shift state
(function)
C++ documentation for mbstate_t
+

+ © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
+ https://en.cppreference.com/w/c/string/multibyte/mbstate_t +

+
-- cgit v1.2.3