summaryrefslogtreecommitdiff
path: root/kernel/include/libk
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/libk')
-rw-r--r--kernel/include/libk/math.h8
-rw-r--r--kernel/include/libk/string.h11
2 files changed, 19 insertions, 0 deletions
diff --git a/kernel/include/libk/math.h b/kernel/include/libk/math.h
new file mode 100644
index 0000000..83ac7fe
--- /dev/null
+++ b/kernel/include/libk/math.h
@@ -0,0 +1,8 @@
+#ifndef MATH_H
+#define MATH_H
+
+#include <types.h>
+
+int64_t abs(int64_t val);
+
+#endif
diff --git a/kernel/include/libk/string.h b/kernel/include/libk/string.h
new file mode 100644
index 0000000..64a7f81
--- /dev/null
+++ b/kernel/include/libk/string.h
@@ -0,0 +1,11 @@
+#ifndef STRING_H
+#define STRING_H
+
+#include <types.h>
+
+size_t strlen(const char* s);
+uint64_t stoi(const char *s);
+void itos(uint64_t num, char* s);
+void strrev(char *s);
+
+#endif