The
towctrans() function converts a wide character
wc with a character mapping
charmap.
The behaviour of
towctrans() 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
towctrans() is affected by the
LC_CTYPE category of the current locale.