42_minitalk/libftx/libft/ft_isprint.c
2023-01-23 13:22:30 +01:00

19 lines
968 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/26 11:52:31 by cchauvet #+# #+# */
/* Updated: 2022/09/28 15:05:17 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isprint(int c)
{
return (32 <= c && c < 127);
}