-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isupper.c
More file actions
24 lines (21 loc) · 1.05 KB
/
ft_isupper.c
File metadata and controls
24 lines (21 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isupper.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lsauvage <lsauvage@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/29 14:47:32 by lsauvage #+# #+# */
/* Updated: 2018/01/04 15:49:40 by lsauvage ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** DESCRIPTION : Verfie si un caractere est en MAJUSCULE.
**
** RETOUR : Renvoie 1 si vrai, 0 sinon.
*/
int ft_isupper(int c)
{
return (c >= 'A' && c <= 'Z');
}