up | Inhaltsverzeichniss | Kommentar

Manual page for wconv(3I)

wconv, towupper, towlower - Process Code character conversion macros

SYNOPSIS

cc [ flag ... ] file ... -lw [ library ... ]

#include <widec.h>
#include <wctype.h>

int towlower(int c);

int towupper(int c);

MT-LEVEL

MT-Safe with exceptions

CHARACTER CONVERSION MACROS

These macros perform simple case conversions on Latin characters in Process Code, wchar_t, from the primary and supplementary codesets, by table lookup.

towupper(c)
converts the lower-case Latin character c to its upper-case equivalent. If c is not a lower-case Latin character c is returned.
towlower(c)
converts the upper-case character c to its lower-case equivalent. If c is not an upper-case Latin character c is returned.

SEE ALSO

ctype.3c setlocale.3c iswalpha.3i stdio.3s

NOTES

towupper and towlower can be used safely in a multi-thread application, as long as setlocale.3c is not being called to change the locale.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97