stdlib.h 409 B

12345678910111213141516171819202122
  1. #ifndef _BITS_STDLIB_H
  2. #define _BITS_STDLIB_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifdef __cplusplus
  7. // C++ needs abort to be a function, define backup function
  8. void abort(void);
  9. #else
  10. // C uses detailed abort macro
  11. #define abort() __abort(__func__, __FILE__, __LINE__)
  12. #endif
  13. long double strtold(const char *nptr, char **endptr);
  14. #ifdef __cplusplus
  15. } // extern "C"
  16. #endif
  17. #endif /* _BITS_STDLIB_H */