21 lines
995 B
C
21 lines
995 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_tolower.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/09/26 13:25:48 by cchauvet #+# #+# */
|
||
|
/* Updated: 2022/09/27 11:18:32 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "libft.h"
|
||
|
|
||
|
int ft_lower(int c)
|
||
|
{
|
||
|
if (c >= 'A' && 'Z' >= c)
|
||
|
return (c - 48);
|
||
|
return (c);
|
||
|
}
|