21 lines
992 B
C
21 lines
992 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* ft_tolower.c :+: :+: */
|
|
/* +:+ */
|
|
/* By: djonker <marvin@codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2020/11/11 16:13:29 by djonker #+# #+# */
|
|
/* Updated: 2023/10/18 17:00:23 by houtworm ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../libft.h"
|
|
|
|
int ft_tolower(int c)
|
|
{
|
|
if (ft_isuppc(c))
|
|
return (c + 32);
|
|
return (c);
|
|
}
|