strnstr (9) - Linux Manuals
strnstr: Find the first substring in a length-limited string
NAME
strnstr - Find the first substring in a length-limited string
SYNOPSIS
-
char * strnstr(const char
* s1, const char* s2, size_tlen);
ARGUMENTS
s1
-
- The string to be searched
s2
- The string to search for
len
- the maximum number of characters to search
COPYRIGHT