ferror.3s

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 3S 代码 · 共 62 行

3S
62
字号
.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 + =
减小字号Ctrl + -
显示快捷键?