aboutsummaryrefslogtreecommitdiff
path: root/include/lib/strings.h
blob: dd773240ed1b3327ebd170357c2a48f6f304c22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef LIB_STRINGS_H
#define LIB_STRINGS_H

#define string_t char*

unsigned long strlen(string_t s);
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