Searched refs:dirp (Results 1 – 3 of 3) sorted by relevance
246 DIR *dirp; in sysctl_act_recursive() local248 dirp = opendir(path); in sysctl_act_recursive()249 if (dirp == NULL) in sysctl_act_recursive()251 while ((entry = readdir(dirp)) != NULL) { in sysctl_act_recursive()260 closedir(dirp); in sysctl_act_recursive()
222 DIR *dirp; in main() local246 dirp = opendir("."); in main()247 if (!dirp) in main()255 dp = readdir(dirp); in main()269 closedir(dirp); in main()
7848 DIR *dirp; in expmeta() local7910 dirp = opendir(cp); in expmeta()7911 if (dirp == NULL) in expmeta()7927 while (!pending_int && (dp = readdir(dirp)) != NULL) { in expmeta()7954 closedir(dirp); in expmeta()