Archived
1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
libft/ft_strchr.c

23 lines
974 B
C
Raw Normal View History

2023-11-03 16:21:15 +01:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strchr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/01 15:45:18 by adjoly #+# #+# */
2023-11-08 12:46:30 +01:00
/* Updated: 2023/11/08 12:17:21 by adjoly ### ########.fr */
2023-11-03 16:21:15 +01:00
/* */
/* ************************************************************************** */
2023-11-08 12:46:30 +01:00
char *ft_strchr(const char *s, int c)
{
int i;
2023-11-05 15:12:25 +01:00
2023-11-08 12:46:30 +01:00
i = 0;
while (s[i])
{
2023-11-06 11:00:52 +01:00
2023-11-08 12:46:30 +01:00
}
}