OpenBSD manual page server

Manual Page Search Parameters

TOWCTRANS(3) Library Functions Manual TOWCTRANS(3)

towctransconvert a wide character with a specified map

#include <wctype.h>

towctrans(wint_t wc, wctrans_t charmap);

The () function converts a wide character wc with a character mapping charmap.

The behaviour of () is undefined if the towctrans() function is called with an invalid charmap (changes of LC_CTYPE category invalidate charmap) or invalid wide character wc.

The behaviour of () is affected by the LC_CTYPE category of the current locale.

towctrans() returns the resulting character of the conversion.

No errors are defined.

iswctype(3), setlocale(3), wctrans(3), wctype(3)

The towctrans() function conforms to ISO/IEC 9899/AMD1:1995 (“ISO C90, Amendment 1”).

May 31, 2007 OpenBSD-6.1