Lines Matching refs:dent
834 struct dirent *dent; in hostapd_cli_list_interfaces() local
845 while ((dent = readdir(dir))) { in hostapd_cli_list_interfaces()
846 if (strcmp(dent->d_name, ".") == 0 || in hostapd_cli_list_interfaces()
847 strcmp(dent->d_name, "..") == 0) in hostapd_cli_list_interfaces()
849 printf("%s\n", dent->d_name); in hostapd_cli_list_interfaces()
1332 struct dirent *dent; in main() local
1335 while ((dent = readdir(dir))) { in main()
1336 if (os_strcmp(dent->d_name, ".") == 0 in main()
1338 os_strcmp(dent->d_name, "..") == 0) in main()
1341 dent->d_name); in main()
1342 ctrl_ifname = os_strdup(dent->d_name); in main()