Searched refs:procDir (Results 1 – 2 of 2) sorted by relevance
155 DIR *procDir; in updateProcessInfo() local156 procDir = opendir("/proc"); in updateProcessInfo()157 if (!procDir) { in updateProcessInfo()163 while ((pidDir = readdir(procDir))) { in updateProcessInfo()
167 DIR *procDir; in ReadProcData() local171 procDir = opendir(PROC_DIR); in ReadProcData()172 if (!procDir) die("Could not open /proc.\n"); in ReadProcData()173 while ((pidDir = readdir(procDir))) { in ReadProcData()