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
...
另见
fgetcgetc | gets a character from a file stream (function) |
---|---|
fgetws | gets a wide string from a file stream (function) |
fputwcputwc | writes a wide character to a file stream (function) |
ungetwc | puts a wide character back into a file stream (function) |
c fgetwc的文件
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。