libft / ft_isprint.c 109 commits
14-04-2026
18 lines 969 B
 1/* ************************************************************************** */
 2/*                                                                            */
 3/*                                                        :::      ::::::::   */
 4/*   ft_isprint.c                                       :+:      :+:    :+:   */
 5/*                                                    +:+ +:+         +:+     */
 6/*   By: mleitao <mleitao@student.42.fr>            +#+  +:+       +#+        */
 7/*                                                +#+#+#+#+#+   +#+           */
 8/*   Created: 2026/03/09 19:23:14 by mleitao           #+#    #+#             */
 9/*   Updated: 2026/04/14 19:17:48 by mleitao          ###   ########.fr       */
10/*                                                                            */
11/* ************************************************************************** */
12
13#include "libft.h"
14
15int	ft_isprint(int c)
16{
17	return (c >= 32 && c <= 126);
18}