aboutsummaryrefslogtreecommitdiff
path: root/src/ctype/ft_isascii.c
blob: 376ee546434ece338ce44a6e38177d41a5b013da (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/10 02:14:40 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

int	ft_isascii(int c)
{
	return (c >= 0 && c <= 255);
}