-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isdigit.c
16 lines (15 loc) · 952 Bytes
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: chanheki <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/06 15:15:11 by chanheki #+# #+# */
/* Updated: 2022/07/13 00:44:53 by chanheki ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
return (c >= 0x30 && c <= 0x39);
}