-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_next_str.c
executable file
·22 lines (20 loc) · 1019 Bytes
/
ft_next_str.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_next_str.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: luperez <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/17 12:01:44 by luperez #+# #+# */
/* Updated: 2014/11/17 12:12:16 by luperez ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_next_str(char *str)
{
if (str == NULL)
return (NULL);
while (!*str)
str++;
return (str);
}