chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] add comment in wait_for_sysfs to explain the structure better.
[elogind.git]
/
klibc
/
klibc
/
strstr.c
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
}