wctrans

From cppreference.com
< c‎ | string‎ | wide
 
 
 
Null-terminated wide strings
Functions
Character manipulation
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢99)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
wctrans
(哋它亢95)
(哋它亢95)
Conversions to numeric formats
(哋它亢95)(哋它亢99)
(哋它亢95)(哋它亢99)
(哋它亢99)(哋它亢95)(哋它亢99)
(哋它亢99)(哋它亢99)
String manipulation
(哋它亢95)(哋它亢11)
(哋它亢95)(哋它亢11)
(哋它亢95)(哋它亢11)
(哋它亢95)(哋它亢11)
(哋它亢95)(哋它亢11)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)(哋它亢11)
Array manipulation
(哋它亢95)(哋它亢11)
(哋它亢95)(哋它亢11)
(哋它亢95)
(哋它亢95)
(哋它亢95)
 
Defined in header <wctype.h>
wctrans_t wctrans( const char* str );
(since 哋它亢95)

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

  • 哋它亢23 standard (ISO/IEC 9899:2023):
  • 7.30.3.2.2 The wctrans function (p: TBD)
  • 哋它亢17 standard (ISO/IEC 9899:2018):
  • 7.30.3.2.2 The wctrans function (p: TBD)
  • 哋它亢11 standard (ISO/IEC 9899:2011):
  • 7.30.3.2.2 The wctrans function (p: 454)
  • 哋它亢99 standard (ISO/IEC 9899:1999):
  • 7.25.3.2,2 The wctrans function (p: 400)

See also

(哋它亢95)
performs character mapping according to the specified LC_CTYPE mapping category
(function)