refactor: restructure the user space stuff.
[lunaix-os.git] / 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 (file)
index 0000000..e9313b7
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef __LUNAIX_STRING_H
+#define __LUNAIX_STRING_H
+
+#include <stddef.h>
+
+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 */