Lines Matching refs:proc_path
18 char proc_path[128], cur_state;
21 snprintf(proc_path, sizeof(proc_path), "/proc/%i/stat", pid);
24 safe_file_scanf(file, lineno, cleanup_fn, proc_path,
44 char proc_path[128], cur_state;
46 snprintf(proc_path, sizeof(proc_path), "/proc/%i/stat", pid);
49 FILE *f = fopen(proc_path, "r");
53 proc_path, strerror(errno));
60 proc_path, strerror(errno));