summaryrefslogtreecommitdiff
path: root/stage3/string.h
diff options
context:
space:
mode:
authorLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-19 01:54:39 +0100
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-19 02:11:32 +0100
commit6d263c7d4e0f4b1d34694b5d3d159ccb20b3db02 (patch)
tree41578268cf68b2d9ea1737687a0f98af979948d8 /stage3/string.h
parent5881b4d5c1040c762599f90e091e4cc4c3abe6b1 (diff)
downloadcuddles-6d263c7d4e0f4b1d34694b5d3d159ccb20b3db02.tar.xz
keyboard driver and threads
* PS/2 keyboard driver * interactive shell * move away from \0 terminated strings to sized slices * coroutine threads and IRQ queues
Diffstat (limited to 'stage3/string.h')
-rw-r--r--stage3/string.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/stage3/string.h b/stage3/string.h
index 2738f60..8375136 100644
--- a/stage3/string.h
+++ b/stage3/string.h
@@ -3,10 +3,9 @@
#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);
+isize str_cmp(str s1, str s2);
+usize str_find(str s, str tokens);
+usize str_parse_num(str s, u8 base, u64 *x);
+str str_split_walk(str *s, str sep);
#endif