-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_islower.c
26 lines (23 loc) · 1.08 KB
/
ft_islower.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_islower.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dalves-p <dalves-p@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/06/25 22:44:13 by dalves-p #+# #+# */
/* Updated: 2021/06/28 10:57:33 by dalves-p ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/*
** LIBRARY: <ctype.h>
** DESCRIPTION:
** The islower() function tests if c is a lower-case letter.
*/
int ft_islower(int c)
{
if (c >= 'a' && c <= 'z')
return (1);
return (0);
}