Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/t/towctrans.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/t/towctrans.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/t/towctrans.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/t/towctrans.html on line 8

towctrans()

Convert a wide character in a specified manner

Synopsis:

#include <wctype.h>

wint_t towctrans( wint_t wc,
                  wctrans_t category );

Arguments:

wc
The wide character that you want to convert.
category
How you want to convert the character; get this by calling wctrans().

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The towctrans() function converts wc, using the mapping described by category. The following functions are equivalent:

Function Equivalent wctrans() call
towlower( wc ) towctrans( wc, wctrans("tolower") )
towupper( wc ) towctrans( wc, wctrans("toupper") )

Returns:

The corresponding converted wide character when the argument is valid; otherwise, the original wide character.

Errors:

EINVAL
The conversion descriptor in category is invalid.

Classification:

ANSI, POSIX 1003.1

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

See also:

towlower(), towupper(), wctrans()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/t/towctrans.html on line 155

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/t/towctrans.html on line 155