-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isdigit.c
executable file
·16 lines (15 loc) · 959 Bytes
/
ft_isdigit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tseguier <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2013/11/22 06:27:56 by tseguier #+# #+# */
/* Updated: 2014/03/27 18:38:10 by jcoignet ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isdigit(int c)
{
return ((c >= 48 && c <= 57) ? 1 : 0);
}