18 lines
984 B
C
18 lines
984 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_tolower.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/10/02 16:53:06 by mcolonna #+# #+# */
|
|
/* Updated: 2023/10/02 16:58:02 by mcolonna ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
int ft_tolower(int c)
|
|
{
|
|
if (c >= 'A' && c <= 'Z')
|
|
return (c - 'A' + 'a');
|
|
return (c);
|
|
}
|