std::clearerr
Defined in header <cstdio> | | |
|---|---|---|
void clearerr( std::FILE* stream ); | | |
重置错误标志和EOF给定文件流的指示符。
参数
stream | - | the file to reset the error flags for |
|---|
返回值
%280%29
例
另见
feof | checks for the end-of-file (function) |
|---|---|
perror | displays a character string corresponding of the current error to stderr (function) |
ferror | checks for a file error (function) |
C文件供清算人使用
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

