/* Find the first occurrence of find in s.  */
char* strstr(const char *s, const char *find)
/* Find the first occurrence of find in s.  */
char* strstr(const char *s, const char *find)
{
	char c, sc;
	size_t len;
	c = *find++;
	if (c != 0) {
		len = strlen(find);
		do {
			do {
				sc = *s++;
				if (sc == 0) {
					return NULL;
				}
			} while (sc != c);
		} while (strncmp(s, find, len) != 0);
		s--;
	}
	return (char *)s;
}