fclose (3) Linux Manual Page
NAME fclose – close a stream SYNOPSIS #include <stdio.h> int fclose(FILE *stream); DESCRIPTION The fclose() function flushes the stream pointed to by stream (writing any buffered output data using fflush(3)) and closes the underlying file descriptor. The behaviour of fclose() is undefined if the stream parameter is an illegal pointer, or is a descriptor already…
