minishell
ft_to.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ft_toupper (int c)
 
int ft_tolower (int c)
 

Function Documentation

◆ ft_tolower()

int ft_tolower ( int  c)

Definition at line 16 of file ft_tolower.c.

17 {
18  if (ft_isupper(c))
19  return (c + ('a' - 'A'));
20  else
21  return (c);
22 }
int ft_isupper(int c)
Definition: ft_isupper.c:15
Here is the call graph for this function:

◆ ft_toupper()

int ft_toupper ( int  c)

Definition at line 16 of file ft_toupper.c.

17 {
18  if (ft_islower(c))
19  return (c + ('A' - 'a'));
20  else
21  return (c);
22 }
int ft_islower(int c)
Definition: ft_islower.c:15
Here is the call graph for this function: