X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/45e1f8b055043e54be35462852ab6649d634da7c..2a49908006b177c4d6354309333d06b1b96e4887:/lunaix-os/usr/libc/includes/string.h diff --git a/lunaix-os/usr/libc/includes/string.h b/lunaix-os/usr/libc/includes/string.h new file mode 100644 index 0000000..e9313b7 --- /dev/null +++ b/lunaix-os/usr/libc/includes/string.h @@ -0,0 +1,18 @@ +#ifndef __LUNAIX_STRING_H +#define __LUNAIX_STRING_H + +#include + +extern size_t strlen(const char* str); + +extern size_t strnlen(const char* str, size_t max_len); + +extern char* strncpy(char* dest, const char* src, size_t n); + +extern const char* strchr(const char* str, int character); + +extern char* strcpy(char* dest, const char* src); + +extern int strcmp(const char* s1, const char* s2); + +#endif /* __LUNAIX_STRING_H */