summaryrefslogtreecommitdiff
path: root/com32/lib/strstr.c
blob: 10222dfd30a6447105ba386ecc914d3c8e4232d8 (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));
}