mirror of
https://github.com/Ladebeze66/fractol.git
synced 2025-12-15 13:47:05 +01:00
21 lines
990 B
C
Executable File
21 lines
990 B
C
Executable File
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_isascii.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: fgras-ca <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/02/01 16:40:31 by fgras-ca #+# #+# */
|
|
/* Updated: 2023/02/01 16:46:11 by fgras-ca ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_isascii(int c)
|
|
{
|
|
if (c >= 0 && c <= 127)
|
|
return (1);
|
|
return (0);
|
|
}
|