TOWCTRANS(3) NEWLIB TOWCTRANS(3)NAME
3.31 `towctrans'--extensible wide-character translation
SYNOPSIS
#include <wctype.h>
wint_t towctrans(wint_t C, wctrans_t W);
DESCRIPTION
`towctrans' is a function which converts wide characters based on a
specified translation type W. If the translation type is invalid or
cannot be applied to the current character, no change to the character
is made.
RETURNS
`towctrans' returns the translated equivalent of C when it is a valid
for the given translation, otherwise, it returns the input character.
When the translation type is invalid, `errno' is set `EINVAL'.
PORTABILITY
`towctrans' is C99.
No supporting OS subroutines are required.
SEE ALSOtowctrans is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 TOWCTRANS(3)