3 char *strstr(const char *haystack
, const char *needle
) {
4 size_t nl
=strlen(needle
);
5 size_t hl
=strlen(haystack
);
9 for (i
=hl
-nl
+1; __likely(i
); --i
) {
10 if (*haystack
==*needle
&& !memcmp(haystack
,needle
,nl
))
12 return (char*)haystack
;