mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 11:26:51 +01:00
19 lines
972 B
C
19 lines
972 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_isdigit.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/10/31 08:50:01 by adjoly #+# #+# */
|
|
/* Updated: 2023/11/03 11:53:33 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
int ft_isdigit(int c)
|
|
{
|
|
if (c >= '0' && c <= '9')
|
|
return (1);
|
|
return (0);
|
|
}
|