42_cub3d/Libft/ft_tolower.c
2024-10-09 03:35:09 +02:00

19 lines
986 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: grobledo <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/02 20:49:29 by grobledo #+# #+# */
/* Updated: 2023/02/02 20:49:30 by grobledo ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_tolower(int c)
{
if (c >= 65 && c <= 90)
c += 32;
return (c);
}