-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isdigit_char.c
20 lines (18 loc) · 1002 Bytes
/
ft_isdigit_char.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit_char.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: imelnych <imelnych@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/10/21 10:18:14 by imelnych #+# #+# */
/* Updated: 2018/03/21 10:59:52 by imelnych ### ########.fr */
/* */
/* ************************************************************************** */
#include "printflib.h"
int ft_isdigit_char(char c)
{
if ((c > 47) && (c < 58))
return (1);
return (0);
}