Home
last modified time | relevance | path

Searched refs:pid_dir (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Dbootchartd.c68 struct dirent *pid_dir; in dump_proc_data() local
74 while ((pid_dir = readdir(proc_dir))) { in dump_proc_data()
78 if (!isdigit(pid_dir->d_name[0])) continue; in dump_proc_data()
79 sscanf(pid_dir->d_name, "%d", &pid); in dump_proc_data()
Dtop.c398 struct dirent *pid_dir, *t_dir; in read_procs() local
409 while ((pid_dir = readdir(proc_dir))) { in read_procs()
410 if (!isdigit(pid_dir->d_name[0])) continue; in read_procs()
412 pid = atoi(pid_dir->d_name); in read_procs()