summaryrefslogtreecommitdiff
path: root/libs/c/include
diff options
context:
space:
mode:
Diffstat (limited to 'libs/c/include')
-rw-r--r--libs/c/include/string.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/c/include/string.h b/libs/c/include/string.h
new file mode 100644
index 00000000..1483e8e9
--- /dev/null
+++ b/libs/c/include/string.h
@@ -0,0 +1,13 @@
+#ifndef _C_STRING_H
+#define _C_STRING_H
+
+size_t strlen(const char *str);
+char* strcpy(char *dest, const char *src);
+char* strncpy(char *dest, const char *src, size_t num);
+char* strcat(char *dest, const char *src);
+int strcmp(char *str1, char *str2);
+int strncmp(char *str1, char *str2, size_t num);
+const char* strchr(const char *str, char ch);
+const char* strstr(const char *str1, const char *str2);
+
+#endif