#include #include char *translations[2] = { "tolower", "toupper" }; void main( void ) { int i; wint_t wc = 'A'; wint_t twc; for( i = 0; i < 2; i++ ) { twc = towctrans( wc, wctrans( translations[i] ) ); printf( "%s(%lc): %lc\n", translations[i], wc, twc ); } }