Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fgetwc(3S)

getwc(3S)

attributes(5)

getwchar(3S)

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(3S). 

ERRORS

Refer to fgetwc(3S). 

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
MT-Level MT-Safe

SEE ALSO

fgetwc(3S), getwc(3S), attributes(5)

SunOS 5.6  —  Last change: 22 Apr 1997

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026