stdlib.h 708 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-06-07 Meco Man The first version.
  9. */
  10. #ifndef __POSIX_STDLIB_H__
  11. #define __POSIX_STDLIB_H__
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include <stdint.h>
  16. #include <stdlib.h>
  17. char *itoa(int n, char *buffer, int radix);
  18. char *lltoa(int64_t ll, char *buffer, int radix);
  19. char *ltoa(long l, char *buffer, int radix);
  20. char *ulltoa(uint64_t ll, char *buffer, int radix);
  21. char *ultoa(unsigned long l, char *buffer, int radix);
  22. char *utoa(unsigned int n, char *buffer, int radix);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* __POSIX_STDLIB_H__ */