Lines Matching refs:pathbuf
541 Char pathbuf[MAXPATHLEN]; local
546 return(glob2(pathbuf, pathbuf+MAXPATHLEN-1,
547 pathbuf, pathbuf+MAXPATHLEN-1,
557 glob2(pathbuf, pathbuf_last, pathend, pathend_last, pattern, in glob2() argument
559 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob2()
575 if (g_lstat(pathbuf, &sb, pglob))
581 (g_stat(pathbuf, &sb, pglob) == 0) &&
589 return(globextend(pathbuf, pglob, limitp));
613 return(glob3(pathbuf, pathbuf_last, pathend,
621 glob3(pathbuf, pathbuf_last, pathend, pathend_last, pattern, pattern_last, in glob3() argument
623 Char *pathbuf, *pathbuf_last, *pathend, *pathend_last; in glob3()
646 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) {
649 if (g_Ctoc(pathbuf, buf, sizeof(buf)))
686 err = glob2(pathbuf, pathbuf_last, --dc, pathend_last,