/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_tolower.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: joelecle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:07:16 by joelecle #+# #+# */ /* Updated: 2020/02/14 17:07:16 by joelecle ### ########lyon.fr */ /* */ /* ************************************************************************** */ static int ft_isupper(int c) { if (c >= 65 && c <= 90) return (1); return (0); } int ft_tolower(int c) { if (ft_isupper(c)) return (c + 32); return (c); }