svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
towctrans_l(3c)
towctrans(3C) Standard C Library Functions towctrans(3C)
NAME
towctrans, towctrans_l - wide-character mapping
SYNOPSIS
#include <wctype.h>
wint_t towctrans(wint_t wc, wctrans_t desc);
wint_t towctrans_l(wint_t wc, wctrans_t desc, locale_t locale);
DESCRIPTION
The towctrans() and towctrans_l functions map the wide character wc us‐
ing the mapping described by desc. The setting of the LC_CTYPE category
in the current locale, or in the locale represented by locale, respec‐
tively, should be the same as during the call to wctrans() or wc‐
trans_l() that returned the value desc.
If the value of desc is invalid, the result is unspecified. For towc‐
trans(), desc is invalid if it was not obtained by a call to wctrans(),
or if desc is invalidated by a subsequent call to setlocale() that has
affected category LC_CTYPE. For towctrans_l, desc is invalid if it was
not obtained by a call to wctrans_l() with the same locale object as
locale.
The function call towctrans(wc, wctrans("tolower")) behaves the same as
towlower(wc).
The function call towctrans_l(wc, wctrans_l("toupper", locale), locale)
behaves the same as towupper_l(wc, locale).
RETURN VALUES
The towctrans() and towctrans_l() functions return the mapped value of
wc, using the mapping described by desc; otherwise, they return wc un‐
changed.
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 StabilityCommitted _ MT-LevelMT-
Safe _ StandardSee standards(7).
SEE ALSO
duplocale(3C), freelocale(3C), newlocale(3C), setlocale(3C), uselo‐
cale(3C), wctrans(3C), attributes(7), standards(7)
Handling Characters and Character Strings in Internationalizing and Lo‐
calizing Applications in Oracle Solaris
Oracle Solaris 11.4 25 Nov 2024 towctrans(3C)