ft_isprint

This commit is contained in:
Tanguy MAZE
2018-04-04 12:37:18 +02:00
parent 2d9e54f2d2
commit eeeef79e4c
2 changed files with 21 additions and 2 deletions

18
ft_isprint.c Normal file
View File

@@ -0,0 +1,18 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isprint.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/04 12:29:36 by tmaze #+# #+# */
/* Updated: 2018/04/04 12:30:28 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isprint(int c)
{
return (c >= 32 && c <= 126);
}