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

개요

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

getwchar(3c)

getwchar(3C)             Standard C Library Functions             getwchar(3C)

NAME
       getwchar - get wide character from stdin stream

SYNOPSIS
       #include <wchar.h>

       wint_t getwchar(void)

DESCRIPTION
       The getwchar() function is equivalent to getwc(stdin).

RETURN VALUES
       Refer to fgetwc(3C).

ERRORS
       Refer to fgetwc(3C).

USAGE
       If the wint_t value returned by getwchar() is stored into a variable of
       type  wchar_t and then compared against the wint_t macro WEOF, the com‐
       parison may never succeed because wchar_t is defined as unsigned.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       tab() box; cw(2.2i)  |cw(3.3i)  lw(2.2i)  |lw(3.3i)  ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityCommitted _ StandardT{
         C95 through C11,
         POSIX.1-2001 through 2008,
         SUS through SUSv4,
         XPG4 through XPG7

       T} _ MT-LevelMT-Safe


SEE ALSO
       fgetwc(3C), getwc(3C), attributes(7), standards(7)


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

HISTORY
       The getwchar() macro was added to <widec.h> in the Solaris 2.0 release.
       The  getwchar() function was added to libw and <wchar.h> in the Solaris
       2.4 release. In Solaris 2.4 and 2.5, the function was  located  in  the
       libw library. In Solaris 2.6 and later, it is located in libc.

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