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

개요

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

wctob(3c)

wctob(3C)                Standard C Library Functions                wctob(3C)

NAME
       wctob - wide-character to single-byte conversion

SYNOPSIS
       #include <stdio.h>
       #include <wchar.h>

       int wctob(wint_t c);

DESCRIPTION
       The  wctob()  function  determines whether c corresponds to a member of
       the extended character set whose character representation is  a  single
       byte when in the initial shift state.


       The  behavior  of this function is affected by the LC_CTYPE category of
       the current locale. See environ(7).

RETURN VALUES
       The wctob() function returns EOF if c does not correspond to a  charac‐
       ter  with  length one in the initial shift state. Otherwise, it returns
       the single-byte representation of that character.

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 _ Interface StabilityCommitted _ MT-LevelMT-Safe _ Stan‐
       dardSee standards(7).


SEE ALSO
       btowc(3C), setlocale(3C), attributes(7), environ(7), standards(7)


       Handling Characters and Character Strings in Internationalizing and Lo‐
       calizing Applications in Oracle Solaris

HISTORY
       The wctob() function was added to Solaris in the Solaris 7 release.

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