Standard C Library Functions getwchar(3C)
NAME
getwchar - get wide character from stdin stream
SYNOPSIS
#include
wintt getwchar(void)
DESCRIPTION
The getwchar() function is equivalent to getwc(stdin).
RETURN VALUES
Refer to fgetwc(3C).
ERORS
Refer to fgetwc(3C).
USAGE
If the wintt value returned by getwchar() is stored into a
variable of type wchart and then compared against the
wintt macro WEOF, the comparison may never succeed because
wchart is defined as unsigned.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
MT-Level MT-Safe
SEE ALSO
fgetwc(3C), getwc(3C), attributes(5), standards(5)
SunOS 5.11 Last change: 24 Jul 2002 1
|