minishell
ft_toupper.c File Reference
#include "ft_to.h"
#include "../ft_is/ft_is.h"
Include dependency graph for ft_toupper.c:

Go to the source code of this file.

Functions

int ft_toupper (int c)
 

Function Documentation

◆ 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: