Searched refs:mod_dir (Results 1 – 3 of 3) sorted by relevance
1218 DIR *mod_dir; in load_modules() local1228 if ((mod_dir = opendir(dirname)) == NULL) { in load_modules()1239 while ((entp = readdir(mod_dir)) != NULL) { in load_modules()1348 (void) closedir(mod_dir); in load_modules()
1544 DIR *mod_dir; in rcmd_db_init() local1559 if ((mod_dir = opendir(dir_name)) == NULL) { in rcmd_db_init()1565 while ((entp = readdir(mod_dir)) != NULL) { in rcmd_db_init()1598 (void) closedir(mod_dir); in rcmd_db_init()
2134 DIR *mod_dir; in load_modules() local2161 if ((mod_dir = opendir(cdir)) == NULL) { in load_modules()2167 while ((entp = readdir(mod_dir)) != NULL) { in load_modules()2176 s_closedir(mod_dir); in load_modules()