Synopsis
int debug_fclose(DEBUG_FILE *stream);
Description

debug_fclose flushes any buffered output of the stream and then closes the stream.

debug_fclose returns 0 on success or -1 if there was an error.