#ifndef ULIB_STRING_STRING_H_ #define ULIB_STRING_STRING_H_ #if !defined(__ASSEMBLER__) #include #include size_t string_len(const char *s); void *string_memset(void *p, int c, size_t n); void *string_memcpy(void *dst, const void *src, size_t n); int string_memcmp(const void *s1, const void *s2, int len); int string_strcmp(const char *a, const char *b); size_t string_strcspn(const char *s, const char *reject); size_t string_strspn(const char *s, const char *accept); char *string_strcpy(char *dest, const char *src); char *string_strchr(const char *s, int c); int string_strncmp(const char * s1, const char * s2, size_t n); #endif #endif // ULIB_STRING_STRING_H_