3 int glob_pattern_p (__const char *__pattern, int __quote)
5 Return nonzero if PATTERN contains any metacharacters.
6 Metacharacters can be quoted with backslashes if QUOTE is nonzero.
8 This function is not part of the interface specified by POSIX.2
9 but several programs want to use it. */
15 int glob_pattern_p (const char *pattern
, int quote
)
17 const char *quote_chars
= "\\?*[]";
20 while ((pattern
= strpbrk (pattern
, quote_chars
)) != NULL
)