-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isascii.c
More file actions
19 lines (18 loc) · 977 Bytes
/
ft_isascii.c
File metadata and controls
19 lines (18 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ulyildiz <ulyildiz@student.42kocaeli.co +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/10 19:22:24 by ulyildiz #+# #+# */
/* Updated: 2023/10/17 17:47:53 by ulyildiz ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int c)
{
if (0 <= c && c <= 127)
return (1);
else
return (0);
}