-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_toupper.c
More file actions
20 lines (18 loc) · 1004 Bytes
/
Copy pathft_toupper.c
File metadata and controls
20 lines (18 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_toupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: halhashm <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/05 09:51:19 by halhashm #+# #+# */
/* Updated: 2021/10/05 09:51:27 by halhashm ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_toupper(unsigned char c)
{
if (ft_isupper(c))
return (c = c - 32);
return (0);
}