-
Notifications
You must be signed in to change notification settings - Fork 2
/
ft_isprint.c
24 lines (21 loc) · 1.1 KB
/
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
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adiaz-lo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/13 10:14:54 by adiaz-lo #+# #+# */
/* Updated: 2020/01/13 10:34:36 by adiaz-lo ### ########.fr */
/* */
/* ************************************************************************** */
/*
** This function checks if 'c' is a printable character.
** For further information, please check the Standard C Library function
** 'isprint(int c))'
*/
#include "libft.h"
int ft_isprint(int c)
{
return (c >= 32 && c <= 126);
}