rt/libft/ft_isdigit.c

19 lines
970 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isdigit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: scebula <scebula@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/26 09:56:25 by scebula #+# #+# */
/* Updated: 2016/04/27 14:19:35 by scebula ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_isdigit(int c)
{
return ('0' <= c && c <= '9');
}