-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_strstr.c
18 lines (16 loc) · 1.01 KB
/
ft_strstr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: oadhesiv <oadhesiv@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/20 18:48:25 by oadhesiv #+# #+# */
/* Updated: 2019/06/01 15:55:42 by oadhesiv ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
char *ft_strstr(const char *haystack, const char *needle)
{
return (ft_strnstr(haystack, needle, ft_strlen(haystack) + 1));
}