FreeBSD kernel libkern code
strnstr.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/libkern.h>
Include dependency graph for strnstr.c:

Go to the source code of this file.

Functions

char * strnstr (const char *s, const char *find, size_t slen)
 

Function Documentation

◆ strnstr()

char * strnstr ( const char *  s,
const char *  find,
size_t  slen 
)

Definition at line 46 of file strnstr.c.

References c, strlen(), and strncmp().

Here is the call graph for this function: