-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isascii.c
19 lines (18 loc) · 989 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: ratavare <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/25 17:49:11 by ratavare #+# #+# */
/* Updated: 2022/10/25 18:01:32 by ratavare ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int value)
{
if (value >= 0 && value <= 127)
return (1);
else
return (0);
}