Lines Matching refs:arglist
68 struct arglist { struct
78 static void getcmd(char *, char *, char *, size_t, struct arglist *); argument
92 struct arglist arglist; in runcmdshell() local
97 arglist.freeglob = 0; in runcmdshell()
98 arglist.argcnt = 0; in runcmdshell()
99 arglist.glob.gl_flags = GLOB_ALTDIRFUNC; in runcmdshell()
100 arglist.glob.gl_opendir = rst_opendir; in runcmdshell()
101 arglist.glob.gl_readdir = glob_readdir; in runcmdshell()
102 arglist.glob.gl_closedir = rst_closedir; in runcmdshell()
103 arglist.glob.gl_lstat = glob_stat; in runcmdshell()
104 arglist.glob.gl_stat = glob_stat; in runcmdshell()
108 if (arglist.freeglob != 0) { in runcmdshell()
109 arglist.freeglob = 0; in runcmdshell()
110 arglist.argcnt = 0; in runcmdshell()
111 globfree(&arglist.glob); in runcmdshell()
117 getcmd(curdir, cmd, name, sizeof(name), &arglist); in runcmdshell()
296 getcmd(char *curdir, char *cmd, char *name, size_t size, struct arglist *ap) in getcmd()