#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* 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);
+
+#ifdef __cplusplus
+}
+#endif