svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
towupper(3c)
towupper(3C) Standard C Library Functions towupper(3C)
NAME
towupper, towupper_l - transliterate lowercase wide-character code to
uppercase
SYNOPSIS
#include <wchar.h>
wint_t towupper(wint_t wc);
wint_t towupper_l(wint_t wc, locale_t locale);
DESCRIPTION
The towupper() function has as a domain a type wint_t, the value of
which must be a character representable as a wchar_t, and must be a
wide-character code corresponding to a valid character in the current
locale or the value of WEOF. If the argument has any other value, the
argument is returned unchanged. If the argument of towupper() repre‐
sents a lowercase wide-character code (as defined by character type in‐
formation in the program locale category LC_CTYPE), the result is the
corresponding uppercase wide-character code. All other arguments in the
domain are returned unchanged.
The towupper_l() function is equivalent to the towupper() function, ex‐
cept that the locale data used is from the locale represented by lo‐
cale.
The behavior is undefined if the locale argument to towupper_l() is the
special locale object LC_GLOBAL_LOCALE or is not a valid locale object
handle.
RETURN VALUES
Upon successful completion, towupper() and towupper_l() return the up‐
percase letter corresponding to the argument passed. Otherwise, they
return the argument unchanged.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ CSIEnabled _ Interface StabilityStandard _ MT-LevelMT-
Safe
SEE ALSO
duplocale(3C), freelocale(3C), iswalpha(3C), newlocale(3C), setlo‐
cale(3C), towlower(3C), uselocale(3C), attributes(7), standards(7)
Oracle Solaris 11.4 11 May 2021 towupper(3C)