TOWCTRANS(3) BSD Library Functions Manual TOWCTRANS(3)NAMEtowctrans — convert a wide character with a specified map
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wctype.h>
wint_t
towctrans(wint_t wc, wctrans_t charmap);
DESCRIPTION
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
charclass) or invalid wide character wc.
The behaviour of towctrans() is affected by the LC_CTYPE category of the
current locale.
RETURN VALUEStowctrans() returns the resulting character of the conversion.
ERRORS
No errors are defined.
SEE ALSOiswctype(3), setlocale(3), wctrans(3), wctype(3)STANDARDS
The towctrans() function conforms to ISO/IEC 9899/AMD1:1995 (“ISO C90,
Amendment 1”).
BSD March 4, 2003 BSD