-
Notifications
You must be signed in to change notification settings - Fork 9
/
ft_isprint.c
16 lines (15 loc) · 960 Bytes
/
ft_isprint.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rchallie <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/07 14:34:24 by rchallie #+# #+# */
/* Updated: 2019/10/07 14:46:51 by rchallie ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isprint(int c)
{
return ((c >= 32 && c <= 126) ? c : 0);
}