summaryrefslogtreecommitdiff
path: root/stdio/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/stdio.h')
-rw-r--r--stdio/stdio.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/stdio/stdio.h b/stdio/stdio.h
index 8e913ccbd9..bd2ffa8eb5 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -324,11 +324,17 @@ extern char *tempnam __P ((__const char *__dir, __const char *__pfx));
extern int __flshfp __P ((FILE *__stream, int __c));
-/* Close STREAM, or all streams if STREAM is NULL. */
+/* Close STREAM. */
extern int fclose __P ((FILE *__stream));
/* Flush STREAM, or all streams if STREAM is NULL. */
extern int fflush __P ((FILE *__stream));
+#ifdef __USE_GNU
+/* Close all streams. */
+extern int __fcloseall __P ((void));
+extern int fcloseall __P ((void));
+#endif
+
/* Open a file and create a new stream for it. */
extern FILE *fopen __P ((__const char *__filename, __const char *__modes));