Path: blob/master/philo_bonus/ft_is_digit_bonus.c
882 views
/* ************************************************************************** */1/* */2/* ::: :::::::: */3/* ft_is_digit_bonus.c :+: :+: :+: */4/* +:+ +:+ +:+ */5/* By: yabtaour <[email protected]> +#+ +:+ +#+ */6/* +#+#+#+#+#+ +#+ */7/* Created: 2022/05/23 00:06:31 by yabtaour #+# #+# */8/* Updated: 2022/05/23 00:06:37 by yabtaour ### ########.fr */9/* */10/* ************************************************************************** */11#include "philosophers_bonus.h"1213int ft_d(int c)14{15if (c >= '0' && c <= '9')16return (1);17return (0);18}192021