source:
bootcd/isolinux/syslinux-6.03/com32/lib/strstr.c
@
dd1be7c
Last change on this file since dd1be7c was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 179 bytes |
Rev | Line | |
---|---|---|
[e16e8f2] | 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 | } |
Note: See TracBrowser
for help on using the repository browser.