diff options
Diffstat (limited to 'ft_strchr.c')
| -rw-r--r-- | ft_strchr.c | 30 |
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)); -} -*/ |
