Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
201dabf78546ca712d3541670a5d898dc199854e
/
.
/
usr
/
klibc
/
strstr.c
blob: 8850858a4471a36a42a505d2f1b371cc21d9c7d2 [
file
] [
log
] [
blame
]
/*
* strstr.c
*/
#include
<string.h>
char
*
strstr
(
const
char
*
haystack
,
const
char
*
needle
)
{
return
(
char
*)
memmem
(
haystack
,
strlen
(
haystack
),
needle
,
strlen
(
needle
));
}