Libft
42 Libft library documentation
Loading...
Searching...
No Matches
ft_tolower.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_tolower.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: raphalme <raphalme@student.42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/12/29 18:37:00 by raphalme #+# #+# */
9/* Updated: 2026/04/14 10:45:22 by raphalme ### ########.fr */
10/* */
11/* ************************************************************************** */
12
19int ft_tolower(int c)
20{
21 return (c + 32 * ((unsigned int)(c - 'A') < 26));
22}
int ft_tolower(int c)
Converts an uppercase ASCII letter to lowercase.
Definition ft_tolower.c:19