39 #pragma GCC system_header 43 #ifndef _GLIBCXX_CSTDLIB 44 #define _GLIBCXX_CSTDLIB 1 52 #define EXIT_SUCCESS 0 53 #define EXIT_FAILURE 1 57 extern "C" void abort(
void)
throw () _GLIBCXX_NORETURN;
58 extern "C" int atexit(
void (*)(
void))
throw ();
59 extern "C" void exit(
int)
throw () _GLIBCXX_NORETURN;
60 #if __cplusplus >= 201103L 61 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT 62 extern "C" int at_quick_exit(
void (*)(
void))
throw ();
64 # ifdef _GLIBCXX_HAVE_QUICK_EXIT 65 extern "C" void quick_exit(
int)
throw() _GLIBCXX_NORETURN;
74 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS 75 #include_next <stdlib.h> 76 #undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS 81 #if __cplusplus >= 201703L && defined(_GLIBCXX_HAVE_ALIGNED_ALLOC) 85 #if __cplusplus >= 201103L 86 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT 106 #if __cplusplus >= 201103L 107 # ifdef _GLIBCXX_HAVE_QUICK_EXIT 123 namespace std _GLIBCXX_VISIBILITY(default)
125 _GLIBCXX_BEGIN_NAMESPACE_VERSION
131 #if __cplusplus >= 201703L && defined(_GLIBCXX_HAVE_ALIGNED_ALLOC) 132 using ::aligned_alloc;
135 #if __cplusplus >= 201103L 136 # ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT 137 using ::at_quick_exit;
152 #ifdef _GLIBCXX_HAVE_MBSTATE_T 156 #endif // _GLIBCXX_HAVE_MBSTATE_T 158 #if __cplusplus >= 201103L 159 # ifdef _GLIBCXX_HAVE_QUICK_EXIT 170 #ifdef _GLIBCXX_USE_WCHAR_T 173 #endif // _GLIBCXX_USE_WCHAR_T 175 #ifndef __CORRECT_ISO_CPP_STDLIB_H_PROTO 177 div(
long __i,
long __j) {
return ldiv(__i, __j); }
181 _GLIBCXX_END_NAMESPACE_VERSION
184 #if _GLIBCXX_USE_C99_STDLIB 195 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
197 _GLIBCXX_BEGIN_NAMESPACE_VERSION
199 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 202 #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC 203 extern "C" void (_Exit)(int)
throw () _GLIBCXX_NORETURN;
205 #if !_GLIBCXX_USE_C99_DYNAMIC 209 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 213 div(
long long __n,
long long __d)
214 { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d;
return __q; }
219 #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 220 extern "C" long long int (atoll)(
const char *)
throw ();
221 extern "C" long long int
222 (strtoll)(
const char * __restrict,
char ** __restrict, int)
throw ();
223 extern "C" unsigned long long int
224 (strtoull)(
const char * __restrict,
char ** __restrict, int)
throw ();
226 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 234 _GLIBCXX_END_NAMESPACE_VERSION
239 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 240 using ::__gnu_cxx::lldiv_t;
242 using ::__gnu_cxx::_Exit;
243 #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC 244 using ::__gnu_cxx::llabs;
245 using ::__gnu_cxx::div;
246 using ::__gnu_cxx::lldiv;
248 using ::__gnu_cxx::atoll;
249 using ::__gnu_cxx::strtof;
250 using ::__gnu_cxx::strtoll;
251 using ::__gnu_cxx::strtoull;
252 using ::__gnu_cxx::strtold;
255 #endif // _GLIBCXX_USE_C99_STDLIB 259 #endif // !_GLIBCXX_HOSTED
GNU extensions for public use.
ISO C++ entities toplevel namespace is std.