C++ Programming/Code/Standard C Library/Functions/fclose

fclose

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
Category:Book:C++ Programming#Code/Standard%20C%20Library/Functions/fclose%20
Category:Book:C++ Programming