lib/libft/ft_toupper.c

8 lines
81 B
C

i32
ft_toupper(char c)
{
if (c >= 'a' && c <= 'z')
c = c - 32;
return (c);
}