aboutsummaryrefslogtreecommitdiff
path: root/stdlib/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r--stdlib/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 9e08d81..99fcf2e 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -367,6 +367,8 @@ extern int atexit __P ((void (*__func) (void)));
#ifdef __USE_MISC
/* Register a function to be called with the status
given to `exit' and the given argument. */
+extern int __on_exit __P ((void (*__func) (int __status, __ptr_t __arg),
+ __ptr_t __arg));
extern int on_exit __P ((void (*__func) (int __status, __ptr_t __arg),
__ptr_t __arg));
#endif