Translations of this page?:

ferror

语法:

    #include <cstdio>
    int ferror( FILE *stream );

ferror()检查文件流的错误,如果没有错误发生返回0,否则返回非零值。发生错误时,使用perror()判断发生了哪种错误。

相关主题: clearerr, feof, perror

 
• • • SitemapRecent changesRSScc