September 1998
Intermediate to advanced
848 pages
20h 13m
English
The ANSI C standard library includes several standard I/O functions associated with streams and the stdio.h file. Table F.12 presents the ANSI prototypes for these functions along with a brief explanation of what they do. The header file also defines the FILE type, the values EOF and NULL, and the standard I/O streams stdin, stdout, and stderr, along with several constants used by the functions in this library.
| Prototype | Description |
|---|---|
| void clearerr(FILE *); | Clears end-of-file and error indicators |
| int fclose(FILE *); | Closes the indicated file |
| int feof(FILE *); | Tests for end of file |
| int ferror(FILE *); | Tests error indicator |
| int fflush(FILE *); | Flushes the indicated file |
| int fgetc(FILE *); ... |
Read now
Unlock full access