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 mapping between wide characters

&pagelevel(4)&pagelevel

Definition   

#include <wctype.h>

wctrans_t wctrans(const char *property);

The wctrans function constructs a value with type wctrans_t that describes a mapping between wide characters identified by the string argument property.

The two strings listed in the description of the "tolower" and "toupper" functions shall be valid in all locales as property arguments to the wctrans function.

If property identifies a valid mapping of wide characters according to the LC_CTYPE category of the current locale, the wctrans function returns a non-zero value that is valid as the second argument to the towctrans function.

Return val.

Value != 0

0

if property identifies a valid mapping.

otherwise.

Note

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

See also

towctrans