libft
Loading...
Searching...
No Matches
ft_isprint.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_isprint.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tspoof <tspoof@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2022/10/25 16:16:11 by tspoof #+# #+# */
9/* Updated: 2022/11/02 12:47:34 by tspoof ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13int ft_isprint(int c)
14{
15 if (c >= 32 && c <= 126)
16 return (1);
17 return (0);
18}
int ft_isprint(int c)
Check if char is printable.
Definition ft_isprint.c:13