Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/modules/klibc/strstr.c

Source at commit 1362 created 12 years 10 months ago.
By ifabio, Add EnableC2/3/4 State and Npci=0x2000 options for the pkg, also edit Localizable file for English and Italian
1/*
2 * strstr.c
3 */
4
5#include <string.h>
6void *memmem(const void *haystack, size_t n, const void *needle, size_t m);
7char *strstr(const char *haystack, const char *needle)
8{
9return (char *)memmem(haystack, strlen(haystack), needle,
10 strlen(needle));
11}
12

Archive Download this file

Revision: 1362