diff options
Diffstat (limited to 'ft_strchr.c')
| -rw-r--r-- | ft_strchr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ft_strchr.c b/ft_strchr.c new file mode 100644 index 0000000..0952232 --- /dev/null +++ b/ft_strchr.c @@ -0,0 +1,7 @@ +#include "libft.h" + +char * +ft_strchr (const char *s, int c) +{ + return (ft_memchr (s, c, ft_strlen (s) + 1)); +} |
