22 lines
1003 B
C
22 lines
1003 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_toupper.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: scebula <scebula@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2015/11/26 10:19:07 by scebula #+# #+# */
|
|
/* Updated: 2015/11/26 10:19:31 by scebula ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_toupper(int c)
|
|
{
|
|
if (97 <= c && c <= 122)
|
|
return (c - 32);
|
|
else
|
|
return (c);
|
|
}
|