-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isascii.c
18 lines (16 loc) · 968 Bytes
/
ft_isascii.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mgiraldo <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/20 22:06:14 by mgiraldo #+# #+# */
/* Updated: 2020/02/21 11:55:12 by mgiraldo ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isascii(int c)
{
return (c >= 0 && c <= 127);
}