Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

wctrans - define wide character mappings

&pagelevel(4)&pagelevel

Syntax

#include <wctype.h>

wctrans_t wctrans(const char *property);

Description

wctrans() constructs a value of type wctrans_t from property that describes a mapping
between wide characters.

The two strings "tolower" and "toupper" are permitted in all locales as a value of the
property argument.

If property identifies a mapping that is valid according to the LC_CTYPE category of the
current locale, wctrans() returns a value not equal to 0 that can be used as a valid second
argument in the function towctrans().

Return val.

Value != 0

0

if property identifies a valid mapping.

otherwise.

Notes

This version of the C runtime system only supports 1-byte characters as wide character
codes.

See also

towctrans()