From 48b500c4432a992ff727799bc41178435793b5b9 Mon Sep 17 00:00:00 2001 From: starnakin Date: Fri, 6 Sep 2024 23:09:11 +0200 Subject: [PATCH] add: string.h --- include/string.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/string.h diff --git a/include/string.h b/include/string.h new file mode 100644 index 0000000..513f7b8 --- /dev/null +++ b/include/string.h @@ -0,0 +1,9 @@ +#pragma once + +#include + +char *strchr(const char *str, int c); +int strcmp(const char *s1, const char *s2); +int strncmp(const char *s1, const char *s2, size_t n); +size_t strlen(const char *str); +char *strstr(const char *haystack, const char *needle);