/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: gbrochar +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2015/11/27 18:43:24 by gbrochar #+# #+# */ /* Updated: 2015/11/28 16:01:01 by gbrochar ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_toupper(int c) { if ((int)c >= 'a' && (int)c <= 'z') c -= 32; return (c); }