-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_skipspace.c
More file actions
21 lines (19 loc) · 1.06 KB
/
ft_skipspace.c
File metadata and controls
21 lines (19 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* :::::::: */
/* ft_skipspace.c :+: :+: */
/* +:+ */
/* By: nsterk <nsterk@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2021/03/02 18:59:59 by nsterk #+# #+# */
/* Updated: 2021/03/03 07:40:54 by nsterk ######## odam.nl */
/* */
/* ************************************************************************** */
#include "libft.h"
const char *ft_skipspace(const char *str)
{
while (*str == '\t' || *str == '\n' || *str == '\f'
|| *str == '\r' || *str == '\v' || *str == ' ')
str++;
return (str);
}