-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_isascii.c
More file actions
20 lines (18 loc) · 991 Bytes
/
ft_isascii.c
File metadata and controls
20 lines (18 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: pruthann <pruth@student.21-school.ru> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/11/14 16:40:20 by pruthann #+# #+# */
/* Updated: 2020/11/14 16:40:48 by pruthann ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isascii(int c)
{
if (c >= 0 && c <= 0177)
return (1);
return (0);
}