summaryrefslogtreecommitdiff
path: root/com32/lib/strstr.c
blob: 0a3e743bc6419331bea6e0cebbe0320bd1a16d56 (plain)
1
2
3
4
5
6
7
8
9
10
/*
 * strstr.c
 */

#include <string.h>

char *strstr(const char *haystack, const char *needle)
{
    return (char *)memmem(haystack, strlen(haystack), needle, strlen(needle));
}