-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_strstr.c
More file actions
18 lines (16 loc) · 1009 Bytes
/
ft_strstr.c
File metadata and controls
18 lines (16 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tyassine <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/11/26 05:03:45 by tyassine #+# #+# */
/* Updated: 2015/11/27 17:19:09 by tyassine ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strstr(const char *s1, const char *s2)
{
return (ft_strnstr(s1, s2, ft_strlen(s1)));
}