Libft
42 Libft library documentation
Loading...
Searching...
No Matches
ft_isdigit.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_isdigit.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: raphalme <raphalme@student.42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/12/29 18:25:18 by raphalme #+# #+# */
9/* Updated: 2026/04/14 10:45:22 by raphalme ### ########.fr */
10/* */
11/* ************************************************************************** */
12
19int ft_isdigit(int c)
20{
21 return ((unsigned int)(c - '0') < 10);
22}
int ft_isdigit(int c)
Checks whether a character is a decimal digit.
Definition ft_isdigit.c:19