aboutsummaryrefslogtreecommitdiff
path: root/src/ft_isdigit.c
blob: f8a5850e7cfb83d53dca93a6238f236ce3cf225b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_isdigit.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/10/07 10:41:20 by cacharle          #+#    #+#             */
/*   Updated: 2019/10/07 10:41:25 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

int	ft_isdigit(int c)
{
	return (c >= '0' && c <= '9');
}