-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isascii.c
More file actions
18 lines (17 loc) · 969 Bytes
/
ft_isascii.c
File metadata and controls
18 lines (17 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tcharuel <tcharuel@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/06 16:30:37 by tcharuel #+# #+# */
/* Updated: 2023/11/06 17:05:05 by tcharuel ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int c)
{
if (c >= 0 && c < 128)
return (1);
return (0);
}