libft
Loading...
Searching...
No Matches
ft_isascii.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_isascii.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tspoof <tspoof@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2022/10/25 15:39:15 by tspoof #+# #+# */
9/* Updated: 2022/10/25 15:41:00 by tspoof ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13int ft_isascii(int c)
14{
15 if (c >= 0 && c <= 127)
16 return (1);
17 return (0);
18}
int ft_isascii(int c)
Check if char is ASCII.
Definition ft_isascii.c:13