wctrans

Returns the description of a mapping, corresponding to specified property, that can later be used in a call to towctrans.

Format

#include  <wctype.h>

wctrans_t wctrans  (const char *property);

Arguments

property
The name of the mapping. The following property names are defined for all locales:

Additional property names may also be defined in the LC_CTYPE category of the current locale.

Description

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

See also towctrans in this section.

Return Values
nonzero  According to the LC_CTYPE category of the current program locale, the string specified as a property argument is the name of an existing character mapping. The value returned can be used in a call to the towctrans function. 
Indicates an error. The property argument does not identify a character mapping in the current program's locale.  


Previous Page | Next Page | Table of Contents | Index