Lines Matching defs:wildspec
63 char *do_wild(__G__ wildspec)
65 ZCONST char *wildspec; /* only used first time on a given dir */
76 /* Even when we're just returning wildspec, we *always* do so in
78 * to the returned string, and wildspec may be a pointer to argv[].
83 if (!iswild(wildspec)) {
84 strncpy(matchname, wildspec, FILNAMSIZ);
91 dirnamelen = strlen(wildspec);
96 strncpy(matchname, wildspec, FILNAMSIZ);
100 strcpy(dirname, wildspec);
101 wildname = wildspec;
127 /* return the raw wildspec in case that works (e.g., directory not
129 strncpy(matchname, wildspec, FILNAMSIZ);
134 /* last time through, might have failed opendir but returned raw wildspec */
136 notfirstcall = FALSE; /* nothing left to try--reset for new wildspec */
163 notfirstcall = FALSE; /* reset for new wildspec */