From a7c32eec5fd2cb5523d567912e6aec539e793c0f Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 11 May 2023 17:26:36 +0200 Subject: Add the strsplit() function --- src/string2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string2.h') diff --git a/src/string2.h b/src/string2.h index 228cc8e..0ffa2b3 100644 --- a/src/string2.h +++ b/src/string2.h @@ -5,6 +5,8 @@ #include +char **strsplit(char *str, char delim, int *size); + #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) static int -- cgit v1.2.3