From ea0165eb26672be62fa17afc5bc4e9a32990f880 Mon Sep 17 00:00:00 2001 From: Aetias Date: Mon, 8 Apr 2024 20:29:55 +0200 Subject: Label `string.h` functions --- libs/c/include/string.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libs/c/include/string.h (limited to 'libs') 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 -- cgit v1.2.3