/ fdf / fdf / libft / ft_isprint.c
ft_isprint.c
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   ft_isprint.c                                       :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <marvin@42.fr>                      +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2022/07/07 16:50:46 by gychoi            #+#    #+#             */
 9  /*   Updated: 2022/07/11 13:37:47 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  int	ft_isprint(int c)
14  {
15  	if (c < 32 || c >= 127)
16  		return (0);
17  	return (1);
18  }