/* Write out the not yet written buffered contents of the stream FP, close
the stream FP, and test whether some error occurred on the stream FP.
FP must be a stream opened for writing.
/* Write out the not yet written buffered contents of the stream FP, close
the stream FP, and test whether some error occurred on the stream FP.
FP must be a stream opened for writing.
/* Likewise, but don't consider it an error if FP has an invalid file
descriptor and no output was done to FP. */
extern int fwriteerror_no_ebadf (FILE *fp);
/* Likewise, but don't consider it an error if FP has an invalid file
descriptor and no output was done to FP. */
extern int fwriteerror_no_ebadf (FILE *fp);