Last development push
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
/* ::: :::::::: */
|
||||
/* ft_strchr.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/09/21 17:16:15 by aortigos #+# #+# */
|
||||
/* Updated: 2023/10/12 15:15:10 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/12/09 19:12:12 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -16,6 +16,8 @@ char *ft_strchr(const char *str, int c)
|
||||
{
|
||||
size_t i;
|
||||
|
||||
if (!str)
|
||||
return (NULL);
|
||||
i = 0;
|
||||
while (str[i] != '\0')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user