libft/srcs/ft_toupper.c

8 lines
No EOL
104 B
C

#include "libft.h"
int ft_toupper(int c)
{
if (ft_islower(c))
c = c - 32;
return (c);
}