Namespaces
Variants
Views
Actions

std::fgetwc

From cppreference.com
< cpp‎ | io‎ | c
Revision as of 18:22, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
Defined in header <cwchar>
wint_t fgetwc( FILE *stream );
wint_t getwc( FILE *stream );

Reads the next wide character from the given input stream. getwc() may be implemented as a macro and may evaluate stream more than once.

Parameters

stream - to read the wide character from

Return value

The next wide character from the stream or WEOF if an error has occurred or the end of file has been reached. If an encoding error occurred, errno is set to EILSEQ.

See also

Template:cpp/io/c/dcl list fgetcTemplate:cpp/io/c/dcl list fgetwsTemplate:cpp/io/c/dcl list fputwcTemplate:cpp/io/c/dcl list ungetwc
C documentation for fgetwc