explain_fclose_or_die(3) | Library Functions Manual | explain_fclose_or_die(3) |
explain_fclose_or_die - close a stream and report errors
#include <libexplain/fclose.h>
void explain_fclose_or_die(FILE *fp);
The 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).
explain_fclose_or_die(fp);
libexplain version 1.4
Copyright (C) 2008 Peter Miller
Written by Peter Miller <pmiller@opensource.org.au>