str_str - locate a substring
#include <str.h> char *str_str(const char *haystack, const char *needle);
The str_str() function finds the first occurrence of the substring needle in the string haystack. The terminating null bytes ('\0') are not compared.
str_str return a pointer to the beginning of the located substring, or NULL if the substring is not found.
index(3) memchr(3) memmem(3) rindex(3) strcasecmp(3) strchr(3) string(3) strpbrk(3) strsep(3) strspn(3) strtok(3) wcsstr(3)
There was an error while loading. Please reload this page.