39#include <sys/libkern.h>
45strstr(
const char *s,
const char *find)
50 if ((
c = *find++) != 0) {
54 if ((sc = *s++) ==
'\0')
57 }
while (
strncmp(s, find, len) != 0);
60 return (__DECONST(
char *, s));
size_t() strlen(const char *str)
int strncmp(const char *s1, const char *s2, size_t n)
char * strstr(const char *s, const char *find)