Chameleon

Chameleon Svn Source Tree

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

Source at commit 1292 created 12 years 8 months ago.
By meklort, Add additional functions to klibc. Remove duplicates from libsa
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: 1292