-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_tolower.c
18 lines (17 loc) · 975 Bytes
/
ft_tolower.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mesafi <mesafi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/30 15:21:55 by mesafi #+# #+# */
/* Updated: 2020/01/20 13:31:58 by mesafi ### ########.fr */
/* */
/* ************************************************************************** */
int ft_tolower(int ch)
{
if (ch >= 'A' && ch <= 'Z')
ch += 32;
return (ch);
}