towctrans(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

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
       using the mapping described by desc. The setting of the LC_CTYPE  cate‐
       gory  in  the  current  locale  or in the locale represented by locale,
       respectively, should be the same as during the  call  to  wctrans()  or
       wctrans_l() that returned the value desc.


       If  the  value  of  desc is invalid (that is, not obtained by a call to
       wctrans() or desc is invalidated by a subsequent  call  to  setlocale()
       that has affected category LC_CTYPE), the result is unspecified.


       If  the  value  of  desc is invalid (that is, not obtained by a call to
       wctrans_l() with the same locale object locale) the result is  unspeci‐
       fied.


       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,  it  returns  wc
       unchanged.

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)



Oracle Solaris 11.4               26 Sep 2014                    towctrans(3C)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3