aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_isprint.c
blob: 53ac26cf4290bd09929bba31a3164960e5fba51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_isprint.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: joelecle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:06:40 by joelecle          #+#    #+#             */
/*   Updated: 2020/02/14 17:06:40 by joelecle         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

int
	ft_isprint(int c)
{
	if (c >= 32 && c <= 126)
		return (1);
	return (0);
}