-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_isprint.c
16 lines (15 loc) · 957 Bytes
/
ft_isprint.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cprune <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/25 13:29:55 by cprune #+# #+# */
/* Updated: 2015/11/28 18:43:32 by cprune ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isprint(int c)
{
return (c >= 32 && c <= 126 ? 1 : 0);
}