-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathft_isspace.c
More file actions
16 lines (15 loc) · 967 Bytes
/
ft_isspace.c
File metadata and controls
16 lines (15 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_isspace.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rerodrig <rerodrig@student.42porto.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/05/12 11:50:45 by rerodrig #+# #+# */
/* Updated: 2025/01/25 00:37:19 by rerodrig ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isspace(char c)
{
return (c == ' ' || (c >= '\t' && c <= '\r'));
}