21 lines
990 B
C
21 lines
990 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_tolower.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2020/11/29 00:14:05 by apommier #+# #+# */
|
|
/* Updated: 2020/11/29 17:20:51 by apommier ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_tolower(int c)
|
|
{
|
|
if (c >= 65 && c <= 90)
|
|
c = c + 32;
|
|
return (c);
|
|
}
|