void explain_fclose_or_die(FILE *fp);
DESCRIPTIONThe explain_fclose_or_die function is used to fflush(3) and fclose(3) the given stream. If there is an error, it will be reported using explain_fclose(3), and then terminates by calling exit(EXIT_FAILURE).
- The fp, exactly as to be passed to the fclose(3) system call.
- Only returns on success. Reports error and process exits on failure.
COPYRIGHTlibexplain version 1.4
Copyright (C) 2008 Peter Miller
AUTHORWritten by Peter Miller <[email protected]>