libkernaux/include/kernaux/itoa.h

22 lines
370 B
C
Raw Normal View History

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