libft/char/ft_isascii.c
Raphael 63c1dea7a2
docs(char): moving the actual documentation on the header
- The documentation on the header allow u to see on the files where the
header is inclued
2025-09-05 16:28:33 +02:00

20 lines
996 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/06 14:04:26 by rparodi #+# #+# */
/* Updated: 2025/09/05 16:01:13 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int c)
{
if (c == 0)
return (1);
if (c > 0 && c <= 127)
return (1);
return (0);
}