summaryrefslogtreecommitdiff
path: root/libs/c/include
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-04-08 20:29:55 +0200
committerAetias <aetias@outlook.com>2024-04-08 20:29:55 +0200
commitea0165eb26672be62fa17afc5bc4e9a32990f880 (patch)
treeaa93d7e944fc2d3b1400ee09d6938c1e75e0c718 /libs/c/include
parent392ccb357e8b9bf5d12eae74577b5778bff7c9cd (diff)
Label `string.h` functions
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