aboutsummaryrefslogtreecommitdiff
path: root/include/10.libc/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/10.libc/string.h')
-rw-r--r--include/10.libc/string.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/10.libc/string.h b/include/10.libc/string.h
new file mode 100644
index 0000000..bef5854
--- /dev/null
+++ b/include/10.libc/string.h
@@ -0,0 +1,26 @@
+#ifndef _STRING_H
+#define _STRING_H
+#include <stddef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+void* memcpy(void*, const void*, size_t);
+void* memset(void*, int, size_t);
+char* strcpy(char*, const char*);
+size_t strlen(const char*);
+#ifdef __cplusplus
+}
+#endif
+
+#include<types.h>
+
+size_t stringlen(char *str);
+bool stringcmp(char *str1,char *str2);
+void stringcat(char *str1,char *str2);
+void stringrev(char *str);
+void itos(uint32_t num,char *str);
+uint32_t stoi(const char *str);
+double stof(const char *str);
+void ftos(double num, char *str);
+
+#endif