blob: b4a945ec1fbc41f27617b58a2ed6bb81beb30f76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef LIB_STRINGS_H
#define LIB_STRINGS_H
#define string_t char*
unsigned long strlen(string_t s);
void strcpy(string_t src, string_t dest);
unsigned char strcmp(string_t a, string_t b);
unsigned char strcmpn(string_t a, string_t b, unsigned int n);
char* u32_to_str(unsigned long value);
char* s32_to_str(unsigned long value);
char* zhex32_to_str(unsigned long value);
char* hex32_to_str(unsigned long value);
#endif
|