19 lines
970 B
C
19 lines
970 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_isascii.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/09/26 11:57:55 by cchauvet #+# #+# */
|
||
|
/* Updated: 2022/09/26 13:33:50 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
int ft_isascii(int c)
|
||
|
{
|
||
|
if (c >= 0 && 127 >= c)
|
||
|
return (1);
|
||
|
return (0);
|
||
|
}
|