2022-05-09 13:45:06 +00:00
|
|
|
#ifndef STRINGS_H
|
|
|
|
#define STRINGS_H
|
|
|
|
|
2022-05-14 16:42:37 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2022-05-09 13:45:06 +00:00
|
|
|
void itoa(int n, char str[]);
|
|
|
|
void strrev(char s[]);
|
|
|
|
int strlen(char s[]);
|
|
|
|
char* strcpy(char* strDest, const char* strSrc);
|
|
|
|
char* strcnc(char* str1, char* str2);
|
|
|
|
|
2022-05-14 16:42:37 +00:00
|
|
|
char* u8_hex(const uint8_t x);
|
|
|
|
char* u16_hex(const uint16_t x);
|
|
|
|
char* u32_hex(const uint32_t x);
|
|
|
|
char* u64_hex(const uint64_t x);
|
|
|
|
|
2022-05-09 13:45:06 +00:00
|
|
|
#endif
|