#ifndef _H_STRING
#define _H_STRING

void strcpy(char *d, const char *s);
void strncpy(char *d, const char *s, unsigned length);
int strcmp(const char *a, const char *b);
int strncmp(const char *a, const char *b, unsigned length);
unsigned strlen(const char *s);
char *strcat(char *d, const char *s);
//char *uint_to_string(uint32_t u, char *str);
char *strrev(char *s);

char *strtok(char *s, const char *delim);
char *strdup(const char *s);
char *strndup(const char *s, unsigned length);
void strtoupper(char *s);
void strtolower(char *s);

int str2int(const char *s, int *d);

const char *strchr(const char *s, char ch);

void memset(void *d, char value, unsigned length);
void memcpy(void *d, const void *s, unsigned length);
//void *memclr(void *dest, int32_t count);
//int32_t memcmp(const void *in1, const void *in2, uint32_t count);

#endif