libft/src/ft_tolower.c

21 lines
992 B
C
Raw Normal View History

2023-04-15 06:46:13 +02:00
/* ************************************************************************** */
/* */
/* :::::::: */
2023-10-26 18:06:04 +02:00
/* ft_tolower.c :+: :+: */
2023-04-15 06:46:13 +02:00
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/11 16:13:29 by djonker #+# #+# */
2023-10-26 18:06:04 +02:00
/* Updated: 2023/10/18 17:00:23 by houtworm ######## odam.nl */
2023-04-15 06:46:13 +02:00
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_tolower(int c)
{
if (ft_isuppc(c))
return (c + 32);
return (c);
}