pushswap/printf/libft/src/ft_toupper.c
2023-03-07 05:42:47 +01:00

21 lines
992 B
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_toupper.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/01 19:10:41 by djonker #+# #+# */
/* Updated: 2023/02/07 00:41:14 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_toupper(int c)
{
if (ft_islowc(c))
return (c - 32);
return (c);
}