fclose---close a file
#include <stdio.h> int fclose(FILE *fp);
If the file or stream identified by fp is open,
it, after first ensuring that any pending data is written (by calling
0 if successful (including when fp is
NULL or not an open file); otherwise, it returns
fclose is required by ANSI C.
Required OS subroutines:
Go to the first, previous, next, last section, table of contents.