-
Notifications
You must be signed in to change notification settings - Fork 4
/
ft_isdigit.c
16 lines (15 loc) · 950 Bytes
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ykoh <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/03/03 21:52:00 by ykoh #+# #+# */
/* Updated: 2020/04/08 23:34:44 by ykoh ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
return (c >= '0' && c <= '9');
}