gnl integre au main

This commit is contained in:
hugogogo
2021-07-24 11:57:54 +02:00
parent 0c4e4419c7
commit 0bf59a09b9
192 changed files with 6157 additions and 10 deletions

20
libftt/srcs/ft_toupper.c Normal file
View File

@@ -0,0 +1,20 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_toupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hulamy <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/25 13:58:39 by hulamy #+# #+# */
/* Updated: 2019/11/25 13:58:43 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_toupper(int c)
{
if (c >= 'a' && c <= 'z')
return (c - 32);
return (c);
}