towctrans

Maps one wide character to another according to a specified mapping descriptor.

Format

#include  <wctype.h>

wint_t towctrans  (wint_t wc, wctrans_t desc);

Arguments

wc
The wide character that you want to map.
desc
Description of the mapping obtained through a call to the wctrans function.

Description

This function maps the wide character specified in wc, using the mapping described by desc.

The current setting of the LC_CTYPE category must be the same as during the call to the wctrans function that returned the value of desc.

Return Values
The mapped value of the wc wide character, if this character exists in the mapping described by desc. Otherwise, the value of wc is returned. 


Previous Page | Next Page | Table of Contents | Index