fclose()

#include <stdio.h>

int fclose( FILE* file_pointer );

This function closes the file referenced by file_pointer. If the closing is successful, function will return 0, otherwise, EOF.


Back to Essential C Functions.

Log in or register to write something here or to contact authors.