Searched refs:pidpath (Results 1 – 1 of 1) sorted by relevance
46 char pidpath[PATH_MAX]; in get_pid_for_process_name() local47 int pidpath_len = proc_pidpath(all_pids[i], pidpath, sizeof(pidpath)); in get_pid_for_process_name()50 char *j = strrchr(pidpath, '/'); in get_pid_for_process_name()51 if ((j == NULL && strcmp(procname, pidpath) == 0) || in get_pid_for_process_name()