/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_toupper.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 10:14:10 by cacharle #+# #+# */ /* Updated: 2019/11/20 01:04:51 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" int ft_toupper(int c) { if (c >= 'a' && c <= 'z') return (c ^ 0b00100000); return (c); }