Searched refs:getbasename (Results 1 – 6 of 6) sorted by relevance
1056 char *getbasename(char *name) in getbasename() function1102 char *bb = getbasename(*cur); in names_to_pid()1129 if (!strcmp(bb, getbasename(cmd))) goto match; in names_to_pid()1130 if (bb!=*cur && !strcmp(bb, getbasename(cmd+strlen(cmd)+1))) goto match; in names_to_pid()
373 char *getbasename(char *name);
296 } else if (cc=='s') fputs(getbasename(*toys.argv), stdout); in do_prompt()
70 from = getbasename(file); in path2mod()
260 sprintf(s, "%d/%s", pid, getbasename(toybuf)); in scan_pids()
409 char *s = (toys.optflags&FLAG_D) ? getdirname(src) : getbasename(src); in cp_main()