maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_tolower.c File Reference
#include "libft.h"
Include dependency graph for ft_tolower.c:

Go to the source code of this file.

Functions

int ft_tolower (int c)
 

Function Documentation

◆ ft_tolower()

int ft_tolower ( int  c)

Definition at line 15 of file ft_tolower.c.

16{
17 if (c >= 'A' && c <= 'Z')
18 return (c + ('a' - 'A'));
19 return (c);
20}