|
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
TOWUPPER(3) BSD Library Functions Manual TOWUPPER(3)
NAME
towupper, towupper_l -- lower case to upper case letter conversion (wide
character version)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wctype.h>
wint_t
towupper(wint_t wc);
#include <wctype.h>
#include <xlocale.h>
wint_t
towupper_l(wint_t wc, locale_t loc);
DESCRIPTION
The towupper() function converts a lower-case letter to the corresponding
upper-case letter.
Although the towupper() function uses the current locale, the
towupper_l() function may be passed a locale directly. See xlocale(3) for
more information.
RETURN VALUES
If the argument is a lower-case letter, the towupper() function returns
the corresponding upper-case letter if there is one; otherwise, the argu-ment argument
ment is returned unchanged.
SEE ALSO
iswupper(3), toupper(3), towlower(3), wctrans(3), xlocale(3)
STANDARDS
The towupper() function conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD October 3, 2002 BSD
|