maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_toupper.c File Reference
#include "libft.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 15 of file ft_toupper.c.

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