19 lines
971 B
C
19 lines
971 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_isdigit.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tmaze <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2018/04/04 11:33:35 by tmaze #+# #+# */
|
|
/* Updated: 2018/04/04 11:34:10 by tmaze ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
int ft_isdigit(int c)
|
|
{
|
|
return (c >= '0' && c <= '9');
|
|
}
|