/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: scebula +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/11/26 10:19:07 by scebula #+# #+# */ /* Updated: 2015/11/26 10:19:31 by scebula ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_toupper(int c) { if (97 <= c && c <= 122) return (c - 32); else return (c); }