maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_toupper.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_toupper.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: rmikhayl <rmikhayl@student.42london.c +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2023/12/17 17:25:27 by rmikhayl #+# #+# */
9
/* Updated: 2023/12/17 17:25:27 by rmikhayl ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#include "
libft.h
"
14
15
int
ft_toupper
(
int
c)
16
{
17
if
(c >=
'a'
&& c <=
'z'
)
18
return
(c - (
'a'
-
'A'
));
19
return
(c);
20
}
ft_toupper
int ft_toupper(int c)
Definition
ft_toupper.c:15
libft.h
lib
libft
src
ft_toupper.c
Generated by
1.9.8