summaryrefslogtreecommitdiff
path: root/src/include/source/string.h
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-17 22:00:14 +0100
committerAleksa Vučković <aleksav013@gmail.com>2022-01-17 22:00:14 +0100
commited84017353c6fc9421b223ff6ec62f8d881d8098 (patch)
tree6ca1abfc7daca48010d841572d4eb16cda1b7abf /src/include/source/string.h
parent85fdaf22994ead86a43b4880cb4875094612bd72 (diff)
Fixing $(WARNING)s & explicitly declaring function prototypes
Diffstat (limited to 'src/include/source/string.h')
-rw-r--r--src/include/source/string.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/source/string.h b/src/include/source/string.h
new file mode 100644
index 0000000..98aef4f
--- /dev/null
+++ b/src/include/source/string.h
@@ -0,0 +1,17 @@
+#ifndef SOURCE_STRING_H
+#define SOURCE_STRING_H
+
+#include<types.h>
+
+size_t stringlen(char* str);
+bool stringcmp(const char* str1, const char* str2);
+void stringcat(char* str1, const char* str2);
+void stringcpy(char* str1, const 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