Content-type: text/html Man page of getwchar

getwchar

Section: Standard C Library Functions (3C)
Updated: 24 Jul 2002
Index Return to Main Contents
 

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 TYPEATTRIBUTE VALUE
Interface StabilityStandard
MT-LevelMT-Safe

 

SEE ALSO

fgetwc(3C), getwc(3C), attributes(5), standards(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
ERRORS
USAGE
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:25 GMT, October 02, 2010