Oracle® Linux
DTrace Guide
string strstr(const char *s
, const char *subs
)
The strstr
function returns a pointer to the
first occurrence of the substring
subs
in the string
s
. If s
is
an empty string, strstr
returns a pointer to
an empty string. If no match is found, strstr
returns 0
.
Copyright © 2013, 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices