2011-12-23 Ulrich Drepper <drepper@gmail.com>
+ [BZ 13527]
+ * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
+ ISO C11.
+
* include/features.h: Define __USE_ISOCXX11 when compiling ISo C++11
code.
* The following bugs are resolved with this release:
- 13526, 13528, 13529
+ 13526, 13527, 13528, 13529
\f
Version 2.15
/* Register a function to be called when `exit' is called. */
extern int atexit (void (*__func) (void)) __THROW __nonnull ((1));
-#ifdef __USE_GNU
-// XXX There should be a macro to signal with C++ revision is used.
-// XXX This function is in the C++1x revision.
+#if defined __USE_ISOC11 || defined __USE_ISOCXX11
/* Register a function to be called when `quick_exit' is called. */
# ifdef __cplusplus
extern "C++" int at_quick_exit (void (*__func) (void))
perform stdio cleanup, and terminate program execution with STATUS. */
extern void exit (int __status) __THROW __attribute__ ((__noreturn__));
-#ifdef __USE_GNU
-// XXX There should be a macro to signal with C++ revision is used.
-// XXX This function is in the C++1x revision.
+#if defined __USE_ISOC11 || defined __USE_ISOCXX11
/* Call all functions registered with `at_quick_exit' in the reverse
of the order in which they were registered and terminate program
execution with STATUS. */