#include <stdio.h> int
fclose (FILE *stream); void
dissociates the named
from its underlying file or set of functions.
If the stream was being used for output, any buffered data is written
on all open streams.
Upon successful completion 0 is returned.
is returned and the global variable
is set to indicate the error.
In either case no further access to the stream is possible.
may also fail and set
for any of the errors specified for the routines
does not handle NULL arguments; they will result in a segmentation
This is intentional - it makes it easier to make sure programs written
Fx are bug free.
This behaviour is an implementation detail, and programs should not
rely upon it.