towctrans
towctrans is a function in the C standard library that applies a locale-dependent wide-character transformation to a single wide character. It is declared in <wchar.h> and is used together with a transformation descriptor obtained from wctrans. The function operates on wide characters represented as wint_t and is part of the wide-character APIs that support locale-aware case mapping and other character transformations.
Prototype and behavior: wint_t towctrans(wint_t wc, wctrans_t tx); The first parameter wc is the input wide character.
Transformation descriptors: A descriptor is obtained by calling wctrans with a string that names the transformation,
Availability and notes: towctrans is defined by the C standard library and is available in many modern
See also: wctrans, towupper, towlower, towcswz (related wide-character utilities).