wip_parsing
This commit is contained in:
20
libft/str/ft_tolower.c
Normal file
20
libft/str/ft_tolower.c
Normal file
@ -0,0 +1,20 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_tolower.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: madumerg <madumerg@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/10/30 14:21:25 by madumerg #+# #+# */
|
||||
/* Updated: 2023/11/02 14:59:56 by madumerg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
int ft_tolower(int i)
|
||||
{
|
||||
if (i >= 'A' && i <= 'Z')
|
||||
i += 32;
|
||||
return (i);
|
||||
}
|
Reference in New Issue
Block a user