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