The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

getwchar - get a wide character from a stdin stream

 SYNOPSIS



#include <wchar.h>

wint_t getwchar(void);

 DESCRIPTION

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

 RETURN VALUE

Refer to fgetwc().

 ERRORS

Refer to fgetwc().

 EXAMPLES

None.

 APPLICATION USAGE

If the value returned by getwchar() is stored into a variable of type wchar_t and then compared against the wint_t macro WEOF, the comparison need never succeed.

 FUTURE DIRECTIONS

None.

 SEE ALSO

fgetwc(), getwc(), <wchar.h>.

DERIVATION

Derived from the MSE working draft.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]