20 lines
991 B
C
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);
|
|
}
|