19 lines
986 B
C
19 lines
986 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_tolower.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: grobledo <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/02/02 20:49:29 by grobledo #+# #+# */
|
|
/* Updated: 2023/02/02 20:49:30 by grobledo ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
#include "libft.h"
|
|
|
|
int ft_tolower(int c)
|
|
{
|
|
if (c >= 65 && c <= 90)
|
|
c += 32;
|
|
return (c);
|
|
}
|