diff options
author | deischen <deischen@FreeBSD.org> | 2006-04-22 15:09:15 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2006-04-22 15:09:15 +0000 |
commit | fa251f3c898137af2d52090430b62484040c0b9f (patch) | |
tree | eb538745a1bbe98b41a010bfe61eadd8ae9c02ae /lib/libc/stdio/local.h | |
parent | 99320e5a001df974492e41d02ec5d9de19dddb64 (diff) | |
download | FreeBSD-src-fa251f3c898137af2d52090430b62484040c0b9f.zip FreeBSD-src-fa251f3c898137af2d52090430b62484040c0b9f.tar.gz |
Add fcloseall() to libc. This removes the need to export _cleanup().
Linux also provides an fcloseall() implementation.
Discussed on: arch
Diffstat (limited to 'lib/libc/stdio/local.h')
-rw-r--r-- | lib/libc/stdio/local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h index de038fa..7d5f79a 100644 --- a/lib/libc/stdio/local.h +++ b/lib/libc/stdio/local.h @@ -53,6 +53,7 @@ extern fpos_t _sseek(FILE *, fpos_t, int); extern int _ftello(FILE *, fpos_t *); extern int _fseeko(FILE *, off_t, int, int); extern int __fflush(FILE *fp); +extern void __fcloseall(void); extern wint_t __fgetwc(FILE *); extern wint_t __fputwc(wchar_t, FILE *); extern int __sflush(FILE *); |