21 lines
992 B
C
21 lines
992 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* :::::::: */
|
||
|
/* ft_isprint.c :+: :+: :+: */
|
||
|
/* +:+ */
|
||
|
/* By: djonker <marvin@codam.nl> +#+ */
|
||
|
/* +#+ */
|
||
|
/* Created: 2020/11/01 19:10:41 by djonker #+# #+# */
|
||
|
/* Updated: 2023/02/07 00:40:01 by houtworm ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "../libft.h"
|
||
|
|
||
|
int ft_isprint(int c)
|
||
|
{
|
||
|
if (c < 32 || c > 126)
|
||
|
return (0);
|
||
|
return (1);
|
||
|
}
|