fillit/libft/ft_isascii.c
Gregory Tertyshny d1cabbc8d5 initial commit
2016-12-26 18:48:33 +02:00

20 lines
991 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/01 15:18:01 by gtertysh #+# #+# */
/* Updated: 2016/12/01 15:21:12 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isascii(int c)
{
if (c >= 0 && c <= 127)
return (1);
return (0);
}