The ANSI C standard library includes several standard I/O functions associated with streams and the stdio.h file. Table RS.V.30 presents the ANSI prototypes for these functions along with a brief explanation of what they do. (Many are described more fully in Chapter 13, “File Input/Output.”) 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.
|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 *); ...|