wip_parsing
This commit is contained in:
20
libft/is/ft_isprint.c
Normal file
20
libft/is/ft_isprint.c
Normal file
@ -0,0 +1,20 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_isprint.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: madumerg <madumerg@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/10/30 14:08:46 by madumerg #+# #+# */
|
||||
/* Updated: 2023/11/02 14:58:37 by madumerg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
int ft_isprint(int i)
|
||||
{
|
||||
if (i < 32 || i > 126)
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
Reference in New Issue
Block a user