WCTRANS(3) NEWLIB WCTRANS(3)NAME
3.32 `wctrans'--get wide-character translation type
SYNOPSIS
#include <wctype.h>
wctrans_t wctrans(const char *C);
DESCRIPTION
`wctrans' is a function which takes a string C and gives back the
appropriate wctrans_t type value associated with the string, if one
exists. The following values are guaranteed to be recognized:
"tolower" and "toupper".
RETURNS
`wctrans' returns 0 and sets `errno' to `EINVAL' if the given name is
invalid. Otherwise, it returns a valid non-zero wctrans_t value.
PORTABILITY
`wctrans' is C99.
No supporting OS subroutines are required.
SEE ALSOwctrans 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 WCTRANS(3)