style: Changing the strchr to strchr_index

This commit is contained in:
Raphael 2025-12-21 00:19:07 +01:00
parent e166b48698
commit 9dd2216fa5
No known key found for this signature in database

View file

@ -6,7 +6,7 @@
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */ /* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/18 17:14:47 by rparodi #+# #+# */ /* Created: 2023/11/18 17:14:47 by rparodi #+# #+# */
/* Updated: 2023/11/22 13:35:03 by rparodi ### ########.fr */ /* Updated: 2025/12/20 23:59:24 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -101,7 +101,7 @@ char *ft_get_next(char *str)
return (temp); return (temp);
} }
int ft_strchr(char *str, char c) int ft_strchr_index(char *str, char c)
{ {
int i; int i;