📄 ferror.3s
字号:
.TH FERROR 3S .SH NAMEfeof, ferror, clearerr, fileno \- stream status inquiries.SH SYNOPSIS.B #include <stdio.h>.PP.B feof(stream).br.SM.B FILE.B *stream;.PP.B ferror(stream).br.SM.B FILE.B *stream.PP.B clearerr(stream).br.SM.B FILE.B *stream.PP.B fileno(stream).br.SM.B FILE.B *stream;.SH DESCRIPTION.I Feofreturns non-zero when end of file is read on the named input.I stream,otherwise zero..PP.I Ferrorreturns non-zero when an error has occurred reading or writingthe named.I stream,otherwise zero.Unless cleared by.I clearerr,the error indication lasts untilthe stream is closed..PP.I Clrerrresets the error indication on the named.I stream..PP.I Filenoreturns the integer file descriptorassociated with the.I stream,see.IR open (2)..PPThese functionsare implemented as macros;they cannot be redeclared..SH "SEE ALSO"fopen(3), open(2)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -