libft
ft_isprint.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* ft_isprint.c :+: :+: :+: */
6 /* +:+ +:+ +:+ */
7 /* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8 /* +#+#+#+#+#+ +#+ */
9 /* Created: 2019/09/05 00:18:55 by unite #+# #+# */
10 /* Updated: 2020/07/16 03:06:02 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "libft.h"
15 
20 int ft_isprint(int c)
21 {
22  return (c >= 040 && c <= 0176);
23 }
ft_isprint
int ft_isprint(int c)
Replicates behaviour of isprint from libc.
Definition: ft_isprint.c:20
libft.h