strnstr(9)

strnstr9

Find the first substring in a length-limited string

Usage

char * strnstr(const char * s1, const char * s2, size_t len);

Arguments

s1

The string to be searched

s2

The string to search for

len

the maximum number of characters to search

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.