-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isascii.c
executable file
·19 lines (18 loc) · 981 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: mberger <mberger@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/03 20:04:52 by mberger #+# #+# */
/* Updated: 2014/11/03 20:06:25 by mberger ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int c)
{
if ((c >= 0) && (c <= 127))
return (1);
else
return (0);
}