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

개요

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

btowc(3c)

btowc(3C)                Standard C Library Functions                btowc(3C)

NAME
       btowc - single-byte to wide-character conversion

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

       wint_t btowc(int c);

DESCRIPTION
       The  btowc()  function  determines  whether c constitutes a valid (one-
       byte) character 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  btowc()  function  returns  WEOF if c has the value EOF or if (un‐
       signed char)c does not constitute a valid (one-byte) character  in  the
       initial shift state. Otherwise, it returns the wide-character represen‐
       tation 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
       setlocale(3C), wctob(3C), attributes(7), environ(7), standards(7)


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

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

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