-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_tolower.c
More file actions
21 lines (19 loc) · 995 Bytes
/
ft_tolower.c
File metadata and controls
21 lines (19 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_tolower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: joramire <joramire@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/23 13:30:10 by joramire #+# #+# */
/* Updated: 2022/09/23 16:08:07 by joramire ### ########.fr */
/* */
/* ************************************************************************** */
int ft_tolower(int c)
{
int out;
out = c;
if (65 <= c && c <= 90)
out = c + 32;
return (out);
}