Searched refs:fd_dir (Results 1 – 1 of 1) sorted by relevance
235 DirReaderPosix fd_dir(kFDDir); in CloseSuperfluousFds() local236 if (!fd_dir.IsValid()) { in CloseSuperfluousFds()258 const int dir_fd = fd_dir.fd(); in CloseSuperfluousFds()260 for ( ; fd_dir.Next(); ) { in CloseSuperfluousFds()262 if (fd_dir.name()[0] == '.') in CloseSuperfluousFds()267 const long int fd = strtol(fd_dir.name(), &endptr, 10); in CloseSuperfluousFds()268 if (fd_dir.name()[0] == 0 || *endptr || fd < 0 || errno) in CloseSuperfluousFds()