-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isascii.c
19 lines (18 loc) · 976 Bytes
/
ft_isascii.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ahmaymou <ahmaymou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/08 14:54:37 by ahmaymou #+# #+# */
/* Updated: 2022/10/08 14:54:42 by ahmaymou ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int c)
{
if (0 <= c && c < 128)
return (1);
else
return (0);
}