libft/src/ft_isprint.c
2023-04-15 06:46:13 +02:00

21 lines
992 B
C

/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ */
/* By: djonker <marvin@codam.nl> +#+ */
/* +#+ */
/* Created: 2020/11/01 19:10:41 by djonker #+# #+# */
/* Updated: 2023/02/07 00:40:01 by houtworm ### ########.fr */
/* */
/* ************************************************************************** */
#include "../libft.h"
int ft_isprint(int c)
{
if (c < 32 || c > 126)
return (0);
return (1);
}