aboutsummaryrefslogtreecommitdiff
path: root/src/lib/inc/str.h
diff options
context:
space:
mode:
authorMarvin Borner2020-07-23 13:10:22 +0200
committerMarvin Borner2020-07-23 13:10:22 +0200
commit99e183a2f569729d722d83503cb851d6198fc1fe (patch)
tree21e48da4f0220022d17b420de0bf771a97985293 /src/lib/inc/str.h
parentfa00718c221b64070067bcd64acbc297e4ac699c (diff)
Some functions for stdlib
Diffstat (limited to 'src/lib/inc/str.h')
-rw-r--r--src/lib/inc/str.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/inc/str.h b/src/lib/inc/str.h
new file mode 100644
index 0000000..0e00e75
--- /dev/null
+++ b/src/lib/inc/str.h
@@ -0,0 +1,16 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#ifndef STRING_H
+#define STRING_H
+
+#include <def.h>
+
+u32 strlen(const char *s);
+char *strcpy(char *dst, const char *src);
+char *strchr(const char *s, int c);
+char *strcat(char *dst, const char *src);
+int strcmp(const char *s1, const char *s2);
+char *strinv(char *s);
+char *strdup(const char *s);
+
+#endif