Index of Section 3 Manual Pages
| Interix / SUA | towupper.3 | Interix / SUA |
towupper(3) towupper(3)
towupper()
NAME
towupper(), _towupper() - lower case to upper case wide-character code
conversion
SYNOPSIS
#include
wint_t towupper (wint_t wc)
wint_t _towupper (wint_t wc)
DESCRIPTION
The towupper(3) function converts a lower-case wide-character code to the
corresponding upper-case wide-character code. If c is not a lower-case
wide-character code, it is not converted.
The _towupper(3) function does the same, but the argument c must be a
lower-case wide-character code. This routine is faster but will break with
the wrong input.
RETURN VALUES
If the argument is a lower-case wide-character code, the towupper(3)
function returns the corresponding upper-case wide-character code if there
is one; otherwise the argument is returned unchanged.
SEE ALSO
iswalnum(3)
iswalpha(3)
iswblank(3)
iswcntrl(3)
iswdigit(3)
iswgraph(3)
iswlower(3)
iswprint(3)
iswpunct(3)
iswspace(3)
iswupper(3)
iswxdigit(3)
towlower(3)
USAGE NOTES
All these functions are thread safe.
The towupper function is not async-signal safe.