##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# towctrans

From cppreference.com
< c‎ | string‎ | wide

Defined in header `<wctype.h>` |  |
wint_t towctrans( wint_t wc, wctrans_t desc ); |  |

Maps the wide character `wc` using the current C locale's LC_CTYPE mapping category identified by `desc`.

### [edit] Parameters

ch | - | the wide character to map
desc | - | the LC_CTYPE mapping, obtained from a call to wctrans

### [edit] Return value

The mapped value of `ch` using the mapping identified by `desc` in LC_CTYPE facet of the current C locale.

### [edit] See also

wctrans | looks up a character mapping category in the current C locale (function) [edit]
C++ documentation for towctrans

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/string/wide/towctrans&oldid=56839"