1 /* 2 * strstr.c 3 */ 4 5 #include <string.h> 6 7 char *strstr(const char *haystack, const char *needle) 8 { 9 return (char *)memmem(haystack, strlen(haystack), needle, strlen(needle)); 10 } 11