-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isdigit.c
More file actions
20 lines (18 loc) · 995 Bytes
/
ft_isdigit.c
File metadata and controls
20 lines (18 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isdigit.c :+: :+: */
/* +:+ */
/* By: farodrig <farodrig@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/27 11:09:18 by farodrig #+# #+# */
/* Updated: 2020/12/12 18:46:53 by farodrig ######## odam.nl */
/* */
/* ************************************************************************** */
/*
** Tests for a decimal digit character.
*/
int ft_isdigit(int c)
{
return (c >= 48 && c <= 57);
}