maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_tolower.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_tolower.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: rmikhayl <rmikhayl@student.42london.c +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2023/12/17 17:25:26 by rmikhayl #+# #+# */
9/* Updated: 2023/12/17 17:25:26 by rmikhayl ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#include "libft.h"
14
15int ft_tolower(int c)
16{
17 if (c >= 'A' && c <= 'Z')
18 return (c + ('a' - 'A'));
19 return (c);
20}
int ft_tolower(int c)
Definition ft_tolower.c:15