summaryrefslogtreecommitdiffhomepage
path: root/src/loader/inc/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/inc/lib.h')
-rw-r--r--src/loader/inc/lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/loader/inc/lib.h b/src/loader/inc/lib.h
new file mode 100644
index 0000000..997db67
--- /dev/null
+++ b/src/loader/inc/lib.h
@@ -0,0 +1,14 @@
+// MIT License, Copyright (c) 2021 Marvin Borner
+
+#ifndef LIB_H
+#define LIB_H
+
+#include <def.h>
+
+u32 strlen(const char *str);
+u32 strnlen(const char *s, u32 max);
+u32 strlcpy(char *dst, const char *src, u32 size);
+
+int itoa(s32 value, char *buffer, u32 base);
+
+#endif