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%2Fwide%2Fwctrans.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 devdocs/c/string%2Fwide%2Fwctrans.html (limited to 'devdocs/c/string%2Fwide%2Fwctrans.html') diff --git a/devdocs/c/string%2Fwide%2Fwctrans.html b/devdocs/c/string%2Fwide%2Fwctrans.html new file mode 100644 index 00000000..16a392f1 --- /dev/null +++ b/devdocs/c/string%2Fwide%2Fwctrans.html @@ -0,0 +1,27 @@ +

wctrans

Defined in header <wctype.h>
wctrans_t wctrans( const char* str );
+
(since C95)

Constructs a value of type wctrans_t that describes a LC_CTYPE category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as "tojhira" or "tojkata".

+

Parameters

+ +
str - C string holding the name of the desired mapping.

The following values of str are supported in all C locales:

+ + + +
Value of str Effect
"toupper" identifies the mapping used by towupper
"tolower" identifies the mapping used by towlower

Return value

wctrans_t object suitable for use with towctrans to map wide characters according to the named mapping of the current C locale or zero if str does not name a mapping supported by the current C locale.

+

References

See also

+ +
+
(C95)
performs character mapping according to the specified LC_CTYPE mapping category
(function)
C++ documentation for wctrans
+

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

+
-- cgit v1.2.3