2021-12-15 05:45:40 -05:00
|
|
|
#ifndef KERNAUX_INCLUDED_ITOA
|
2021-12-20 01:17:53 -05:00
|
|
|
#define KERNAUX_INCLUDED_ITOA
|
2021-12-15 05:45:40 -05:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2022-01-18 02:39:28 -05:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
// uint64_t: "18446744073709551615"
|
2022-01-18 03:12:54 -05:00
|
|
|
// int64_t: "-9223372036854775808"
|
2022-01-18 02:39:28 -05:00
|
|
|
#define KERNAUX_ITOA_BUFFER_SIZE 21
|
|
|
|
|
|
|
|
void kernaux_utoa10(uint64_t value, char *buffer);
|
2022-01-18 03:12:54 -05:00
|
|
|
void kernaux_itoa10(int64_t value, char *buffer);
|
2022-01-18 02:39:28 -05:00
|
|
|
|
2021-12-15 05:45:40 -05:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|