Files
2025-08-04 13:20:27 +02:00

21 lines
1006 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hexplor <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/10 10:09:46 by hexplor #+# #+# */
/* Updated: 2023/11/10 10:13:40 by hexplor ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_tolower(int c)
{
if (c >= 97 - 32 && c <= 122 - 32)
return (c + 32);
return (c);
}