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 
11 #ifndef __POSIX_STDLIB_H__
12 #define __POSIX_STDLIB_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <stdint.h>
19 #include <stdlib.h>
20 
21 void __rt_libc_exit(int status);
22 
23 char *itoa(int n, char *buffer, int radix);
24 char *lltoa(int64_t ll, char *buffer, int radix);
25 char *ltoa(long l, char *buffer, int radix);
26 char *ulltoa(uint64_t ll, char *buffer, int radix);
27 char *ultoa(unsigned long l, char *buffer, int radix);
28 char *utoa(unsigned int n, char *buffer, int radix);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /* __POSIX_STDLIB_H__ */
35