Question: what is fclose in linux?
Answer: DESCRIPTION top. The fclose() function flushes the stream pointed to by stream (writing any buffered output data using fflush(3)) and closes the underlying file descriptor.