Skip to content

Commit

Permalink
stdio.h: declare fcloseall() GNU extension
Browse files Browse the repository at this point in the history
Since libroot already exports it and I've found some code using it.
  • Loading branch information
mmuman committed May 8, 2015
1 parent 5fab548 commit 54656b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions headers/posix/stdio.h
Expand Up @@ -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);
Expand Down

0 comments on commit 54656b3

Please sign in to comment.