ft_printf / src / utils / char.c 79 commits
30-04-2026
18 lines 973 B
 1/* ************************************************************************** */
 2/*                                                                            */
 3/*                                                        :::      ::::::::   */
 4/*   char.c                                             :+:      :+:    :+:   */
 5/*                                                    +:+ +:+         +:+     */
 6/*   By: mleitao <mleitao@student.42.fr>            +#+  +:+       +#+        */
 7/*                                                +#+#+#+#+#+   +#+           */
 8/*   Created: 2026/04/02 03:53:58 by mleitao           #+#    #+#             */
 9/*   Updated: 2026/04/30 15:07:59 by mleitao          ###   ########.fr       */
10/*                                                                            */
11/* ************************************************************************** */
12
13#include "utils.h"
14
15size_t	ft_isdigit(int c)
16{
17	return (c >= '0' && c <= '9');
18}