21 lines
991 B
C
21 lines
991 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_toupper.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tchivert <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2019/04/06 17:39:45 by tchivert #+# #+# */
|
|
/* Updated: 2019/09/04 05:13:35 by tchivert ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_toupper(int c)
|
|
{
|
|
if (ft_islower(c))
|
|
return (c -= 32);
|
|
return (c);
|
|
}
|