summaryrefslogtreecommitdiff
path: root/stage3/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/string.h')
-rw-r--r--stage3/string.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/stage3/string.h b/stage3/string.h
new file mode 100644
index 0000000..2738f60
--- /dev/null
+++ b/stage3/string.h
@@ -0,0 +1,12 @@
+#ifndef STRING_H
+#define STRING_H
+
+#include "def.h"
+
+u64 parse_num(u8 **str, u8 base, isize size);
+usize find_char(const char *str, char chr);
+usize strlen(const char *str);
+int strcmp(const char *p1, const char *p2);
+int strncmp(const char *p1, const char *p2, usize size);
+
+#endif