/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_tolower.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: hexplor +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); }