Lines Matching refs:arglist
72 struct arglist { struct
82 static void getcmd(char *, char *, size_t, char *, size_t, struct arglist *); argument
96 struct arglist arglist; in runcmdshell() local
101 arglist.freeglob = 0; in runcmdshell()
102 arglist.argcnt = 0; in runcmdshell()
103 arglist.glob.gl_flags = GLOB_ALTDIRFUNC; in runcmdshell()
104 arglist.glob.gl_opendir = (void *)rst_opendir; in runcmdshell()
105 arglist.glob.gl_readdir = (void *)glob_readdir; in runcmdshell()
106 arglist.glob.gl_closedir = (void *)rst_closedir; in runcmdshell()
107 arglist.glob.gl_lstat = glob_stat; in runcmdshell()
108 arglist.glob.gl_stat = glob_stat; in runcmdshell()
112 if (arglist.freeglob != 0) { in runcmdshell()
113 arglist.freeglob = 0; in runcmdshell()
114 arglist.argcnt = 0; in runcmdshell()
115 globfree(&arglist.glob); in runcmdshell()
121 getcmd(curdir, cmd, sizeof cmd, name, sizeof name, &arglist); in runcmdshell()
301 struct arglist *ap) in getcmd()