opensolaris man page for getwchar

Query: getwchar

OS: opensolaris

Section: 3c

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 comparison may never succeed because wchar_t is defined as unsigned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
fgetwc(3C), getwc(3C), attributes(5), standards(5) SunOS 5.11 24 Jul 2002 getwchar(3C)
Related Man Pages
getwchar(3c) - opensolaris
getwc(3) - mojave
getwchar(3p) - suse
fgetwc(3) - mojave
getwchar(3c) - sunos
Similar Topics in the Unix Linux Community
Compiling Pcap.c
Read text from file and print each character in separate line