summaryrefslogtreecommitdiff
path: root/ft_strchr.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_strchr.c
parent8403fab94b17bc63bc193037c8777b9074707287 (diff)
Remove testsHEADmain
Diffstat (limited to 'ft_strchr.c')
-rw-r--r--ft_strchr.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/ft_strchr.c b/ft_strchr.c
index b7d10a6..eb7afb7 100644
--- a/ft_strchr.c
+++ b/ft_strchr.c
@@ -32,33 +32,3 @@ char *ft_strchr(const char *s, int c)
}
return (NULL);
}
-/*
-
-#include <string.h>
-
-int main(void)
-{
- const char s[6] = "Hello0";
- int c;
- int d;
- int e;
- int f;
- int g;
-
- c = (int) 'e';
- d = (int) 'm';
- e = (int) '8';
- f = (int) '0';
- g = (int) '$';
- printf("%s\n", ft_strchr(s, c));
- printf("%s\n", strchr(s, c));
- printf("%s\n", ft_strchr(s, d));
- printf("%s\n", strchr(s, d));
- printf("%s\n", ft_strchr(s, e));
- printf("%s\n", strchr(s, e));
- printf("%s\n", ft_strchr(s, f));
- printf("%s\n", strchr(s, f));
- printf("%s\n", ft_strchr(s, g));
- printf("%s\n", strchr(s, g));
-}
-*/