Syntax:
#include <cstdio>
int fclose( FILE *stream );
The function fclose() closes the given file stream, deallocating any buffers
associated with that stream. fclose() returns 0 upon success, and EOF
otherwise.
Related Topics: fflush, fopen, freopen, setbuf