aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/ft_isascii.c
blob: 12b6849354d8cf0f868e2967432676f7e011a378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_isascii.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/10/07 09:54:30 by cacharle          #+#    #+#             */
/*   Updated: 2020/02/12 23:01:02 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

int	ft_isascii(int c)
{
	return (c >= 00 && c <= 0177);
}