svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
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)