Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
explain_fclose_or_die(3)   Library Functions Manual   explain_fclose_or_die(3)

NAME
       explain_fclose_or_die - close a stream and report errors

SYNOPSIS
       #include	<libexplain/fclose.h>
       void explain_fclose_or_die(FILE *fp);

DESCRIPTION
       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  ex-
       plain_fclose(3),	and then terminates by calling exit(EXIT_FAILURE).
	      explain_fclose_or_die(fp);

       fp      The fp, exactly as to be	passed to the fclose(3)	system call.

       Returns:
	       Only  returns  on  success.  Reports error and process exits on
	       failure.

COPYRIGHT
       libexplain version 1.3
       Copyright (C) 2008 Peter	Miller

AUTHOR
       Written by Peter	Miller <pmiller@opensource.org.au>

						      explain_fclose_or_die(3)

NAME | SYNOPSIS | DESCRIPTION | COPYRIGHT | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=explain_fclose_or_die&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help