-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isprint.c
22 lines (20 loc) · 1006 Bytes
/
ft_isprint.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: azaghlou <azaghlou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/29 20:47:47 by azaghlou #+# #+# */
/* Updated: 2022/10/04 11:01:04 by azaghlou ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isprint(int aptx)
{
if (aptx >= 32 && aptx <= 126)
{
return (1);
}
return (0);
}