C++
输入/输出 | Input/output

std::fgetwc

STD::fgetwc

Defined in header
wint_t fgetwc( std::FILE* stream
wint_t getwc( std::FILE* stream

从给定的输入流读取下一个宽字符。getwc()可以作为宏实现,并且可以计算stream不止一次。

参数

stream-to read the wide character from

返回值

流中的下一个宽字符或WEOF如果发生错误或已到达文件结束。如果出现编码错误,errno设置为EILSEQ...

另见

fgetcgetcgets a character from a file stream (function)
fgetwsgets a wide string from a file stream (function)
fputwcputwcwrites a wide character to a file stream (function)
ungetwcputs a wide character back into a file stream (function)

c fgetwc的文件

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/io/c/fgetwc