-
Notifications
You must be signed in to change notification settings - Fork 9
/
ft_isdigit.c
16 lines (15 loc) · 949 Bytes
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rchallie <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/07 15:36:50 by rchallie #+# #+# */
/* Updated: 2019/10/07 15:38:43 by rchallie ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
return (c >= 48 && c <= 57);
}