⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ferror.3

📁 操作系统设计与实现源码
💻 3
字号:


FERROR(3)                 Minix Programmer's Manual                  FERROR(3)


NAME
     ferror, feof, clearerr, fileno - stream status inquiries

SYNOPSIS
     #include <stdio.h>

     int feof(FILE *stream)
     int ferror(FILE *stream)
     int clearerr(FILE *stream)
     int fileno(FILE *stream)

DESCRIPTION
     Feof returns non-zero when end of file is read on the named input stream,
     otherwise  zero.   Unless cleared by clearerr, the end-of-file indication
     lasts until the stream is closed.

     Ferror returns non-zero when an error has occurred reading or writing the
     named  stream,  otherwise  zero.   Unless  cleared by clearerr, the error
     indication lasts until the stream is closed.

     Clearerr resets the error and end-of-file indicators on the named stream.

     Fileno returns the integer file descriptor associated  with  the  stream,
     see open(2).

     Currently all of these functions are implemented as macros;  they  cannot
     be redeclared.

SEE ALSO
     fopen(3), open(2).






















4BSD                              May 14, 1986                               1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -