fix dependency check logic cause config always disabled
[lunaix-os.git] / lunaix-os / usr / libc / includes / string.h
1 #ifndef __LUNALIBC_STRING_H
2 #define __LUNALIBC_STRING_H
3
4 #include <sys/types.h>
5
6 extern size_t strlen(const char* str);
7
8 extern size_t strnlen(const char* str, size_t max_len);
9
10 extern char* strncpy(char* dest, const char* src, size_t n);
11
12 extern const char* strchr(const char* str, int character);
13
14 extern char* strcpy(char* dest, const char* src);
15
16 extern int strcmp(const char* s1, const char* s2);
17
18 #endif /* __LUNALIBC_STRING_H */