1
0
cub3d/libft/str/ft_toupper.c

21 lines
989 B
C
Raw Permalink Normal View History

2024-09-10 16:27:06 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_toupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: madumerg <madumerg@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/30 14:21:13 by madumerg #+# #+# */
/* Updated: 2023/11/02 15:00:00 by madumerg ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_toupper(int i)
{
if (i >= 'a' && i <= 'z')
i -= 32;
return (i);
}