/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: thrieg +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/14 16:43:04 by thrieg #+# #+# */ /* Updated: 2025/02/16 19:05:27 by thrieg ### ########.fr */ /* */ /* ************************************************************************** */ int ft_toupper(int c) { if (c >= 'a' && c <= 'z') return (c - 32); return (c); }