1STRNSTR(9) Basic C Library Functions STRNSTR(9)
23
4
NAME
6strnstr - Find the first substring in a length-limited string
7
SYNOPSIS
9char * strnstr(const char * s1, const char * s2, size_t len);
10
ARGUMENTS
12s1
13The string to be searched
1415
s2
16The string to search for
1718
len
19the maximum number of characters to search
20
COPYRIGHT
22Kernel Hackers Manual 2.6. June 2019 STRNSTR(9)