Searched refs:proc_dir (Results 1 – 2 of 2) sorted by relevance
164 DIR *proc_dir = opendir(kProc); in scan() local165 if (proc_dir == NULL) { in scan()180 while ((dir_data = readdir(proc_dir))) { in scan()196 closedir(proc_dir); in scan()
223 DIR *proc_dir, *task_dir; in read_procs() local233 proc_dir = opendir("/proc"); in read_procs()234 if (!proc_dir) die("Could not open /proc.\n"); in read_procs()246 while ((pid_dir = readdir(proc_dir))) { in read_procs()320 closedir(proc_dir); in read_procs()