From 95ccc46ad62c59e648679acad8b44ba5d4465e3d Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Wed, 8 May 2024 13:14:19 +0200 Subject: Add libft as dir --- libft/ft_strchr.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libft/ft_strchr.c (limited to 'libft/ft_strchr.c') diff --git a/libft/ft_strchr.c b/libft/ft_strchr.c new file mode 100644 index 0000000..ecf522e --- /dev/null +++ b/libft/ft_strchr.c @@ -0,0 +1,40 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_strchr.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser */ +/* #include */ + +/* int main(void) */ +/* { */ +/* char str[] = "teste"; */ + +/* printf("strchr: %p\n", strchr(str, '\0')); */ +/* printf("ft_strchr: %p\n", ft_strchr(str, '\0')); */ +/* } */ -- cgit v1.2.3