Lines Matching refs:curdir
73 char curdir[MAXCOMPLEXLEN]; in runcmdshell() local
78 curdir[0] = '\0'; in runcmdshell()
81 canon("/", curdir, sizeof (curdir)); in runcmdshell()
91 getcmd(curdir, cmd, sizeof (cmd), name, sizeof (name), &alist); in runcmdshell()
130 (void) strncpy(curdir, name, sizeof (curdir)); in runcmdshell()
131 curdir[sizeof (curdir) - 1] = '\0'; in runcmdshell()
203 printlist(name, ino, curdir, *cmd == 'm'); in runcmdshell()
212 if (curdir[1] == '\0') { in runcmdshell()
215 (void) fprintf(stderr, "%s\n", &curdir[1]); in runcmdshell()
344 getcmd(curdir, cmd, cmdsiz, name, namesiz, ap) in getcmd() argument
345 char *curdir, *cmd, *name; in getcmd()
412 (void) strncpy(name, curdir, namesiz);
444 curdir, rawname);