stdio.h: declare fcloseall() GNU extension

Since libroot already exports it and I've found some code using it.
This commit is contained in:
François Revol
2015-05-08 23:46:15 +02:00
parent 5fab548f45
commit 54656b39c6
+3
View File
@@ -70,6 +70,9 @@ extern FILE *fopen(const char *name, const char *mode);
extern FILE *freopen(const char *name, const char *mode, FILE *stream);
extern FILE *fdopen(int fd, const char *mode);
extern int fclose(FILE *stream);
#ifdef _GNU_SOURCE
extern int fcloseall(void);
#endif
extern int fileno(FILE *stream);
extern int fileno_unlocked(FILE *stream);