FERROR
Section: MINTLIB LIBRARY FUNCTIONS
(3)
Updated: 3 March 1993
Index
Return to Main Contents
NAME
ferror, feof, clearerr, fileno - stream status enquiries
SYNOPSIS
#include <stdio.h>
int ferror(FILE *stream);
int feof(FILE *stream);
void clearerr(FILE *stream);
int fileno(FILE *stream);
DESCRIPTION
ferror returns non-zero when an I/O error has previously
occurred reading from or writing to the named stream,
otherwise zero.
feof returns non-zero when EOF has previously been
detected reading the named input stream, otherwise zero.
clearerr resets the error indicator and EOF indicator
to zero on the named stream.
fileno returns the integer file descriptor associated
with the named stream.
SEE ALSO
open(3),
fopen(3)
NOTE
All these functions are implemented as macros; they
cannot be declared or redeclared.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- NOTE
-
This document was created by
man2html,
using the manual pages.
Time: 08:59:20 GMT, February 14, 2025