match_substr
if (match_substr(pathname, "/dev/") == 0)
if (match_substr(name, *p)) {
int match_substr(char *s1, char *s2);