-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isprint.c
More file actions
19 lines (18 loc) · 994 Bytes
/
ft_isprint.c
File metadata and controls
19 lines (18 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lumfred <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/04 14:23:29 by lumfred #+# #+# */
/* Updated: 2021/10/15 13:25:51 by lumfred ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isprint(int ch)
{
if (ch >= 32 && ch <= 126)
return (ch);
return (0);
}