-
Notifications
You must be signed in to change notification settings - Fork 2
/
ft_isascii.c
24 lines (21 loc) · 1.11 KB
/
ft_isascii.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isascii.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adiaz-lo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/13 08:59:33 by adiaz-lo #+# #+# */
/* Updated: 2020/01/13 10:34:07 by adiaz-lo ### ########.fr */
/* */
/* ************************************************************************** */
/*
** This function checks if 'c' parameter is an ASCII character.
** For further information, please check the Standard C Library function
** isascii(int c).
*/
#include "libft.h"
int ft_isascii(int c)
{
return (c >= 0 && c <= 127);
}