-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_isascii.c
19 lines (17 loc) · 1001 Bytes
/
ft_isascii.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ibeliaie <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/05/15 18:02:16 by ibeliaie #+# #+# */
/* Updated: 2023/05/18 17:21:32 by ibeliaie ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
/* check if character is ascii */
int ft_isascii(int c)
{
return (c >= 0 && c < 128);
}