cub3d/libft/src/ft_tolower.c

21 lines
992 B
C
Raw Normal View History

2023-10-25 13:56:45 +02:00
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/11 16:13:29 by djonker #+# #+# */
/* Updated: 2023/02/07 00:41:14 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_tolower(int c)
{
if (ft_isuppc(c))
return (c + 32);
return (c);
}