minishell
ft_tolower.c File Reference
#include "ft_to.h"
#include "../ft_is/ft_is.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 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: