summaryrefslogtreecommitdiff
path: root/ft_split.c
diff options
context:
space:
mode:
authoryctct <yctct@yctct.com>2026-02-05 12:18:33 +0100
committeryctct <yctct@yctct.com>2026-02-05 12:18:33 +0100
commit472b8f20c0f74d20dbb434abce10ee86054b9975 (patch)
tree95625c0ba5a7f999c9add7f9bd55bb0f0b4dc173 /ft_split.c
parent8403fab94b17bc63bc193037c8777b9074707287 (diff)
Remove testsHEADmain
Diffstat (limited to 'ft_split.c')
-rw-r--r--ft_split.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/ft_split.c b/ft_split.c
index b5d8a8b..af73f73 100644
--- a/ft_split.c
+++ b/ft_split.c
@@ -79,27 +79,3 @@ char **ft_split(char const *s, char c)
return (a);
}
-/*
-#include <stdio.h>
-
-int main(void)
-{
- char **b;
- int i;
- char *s2;
-
- // char *s= "xxxhelloxxallxxofxyoux";
- s2 = " code 42 ";
- // char **a;
- // a = ft_split(s, 'x');
- b = ft_split(s2, ' ');
- i = 0;
- while (b[i])
- {
- printf("b[%i]: %s\n", i, b[i]);
- free(b[i]);
- i++;
- }
- free(b);
-}
-*/