-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_tolower.c
18 lines (16 loc) · 985 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: rtiutiun <rtiutiun@42.us.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/09/20 13:55:36 by rtiutiun #+# #+# */
/* Updated: 2017/09/20 13:59:48 by rtiutiun ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_tolower(int c)
{
return ((c >= 'A' && c <= 'Z') ? c + 32 : c);
}