summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/local.h
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2006-04-22 15:09:15 +0000
committerdeischen <deischen@FreeBSD.org>2006-04-22 15:09:15 +0000
commitfa251f3c898137af2d52090430b62484040c0b9f (patch)
treeeb538745a1bbe98b41a010bfe61eadd8ae9c02ae /lib/libc/stdio/local.h
parent99320e5a001df974492e41d02ec5d9de19dddb64 (diff)
downloadFreeBSD-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.h1
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 *);
OpenPOWER on IntegriCloud