libft
Loading...
Searching...
No Matches
ft_tolower.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_tolower.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: tspoof <tspoof@student.hive.fi> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2022/10/31 11:04:33 by tspoof #+# #+# */
9
/* Updated: 2022/10/31 11:05:08 by tspoof ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
int
ft_tolower
(
int
c)
14
{
15
if
(c >=
'A'
&& c <=
'Z'
)
16
{
17
return
(c + 32);
18
}
19
return
(c);
20
}
ft_tolower
int ft_tolower(int c)
Changes char to lowercase.
Definition
ft_tolower.c:13
src
ft_tolower.c
Generated by
1.9.7