Searched refs:dirstream (Results 1 – 5 of 5) sorted by relevance
42 DIR *dirstream; in getttyname() local45 dirstream = __opendir (dev); in getttyname()46 if (dirstream == NULL) in getttyname()52 while ((d = __readdir (dirstream)) != NULL) in getttyname()68 (void) __closedir (dirstream); in getttyname()83 (void) __closedir (dirstream); in getttyname()90 (void) __closedir (dirstream); in getttyname()
43 DIR *dirstream; in getttyname_r() local46 dirstream = __opendir (dev); in getttyname_r()47 if (dirstream == NULL) in getttyname_r()53 while ((d = __readdir (dirstream)) != NULL) in getttyname_r()65 (void) __closedir (dirstream); in getttyname_r()81 (void) __closedir (dirstream); in getttyname_r()87 (void) __closedir (dirstream); in getttyname_r()
181 DIR *dirstream = NULL; in __getcwd_generic() local289 if (dirstream && __closedir (dirstream) != 0) in __getcwd_generic()291 dirstream = NULL; in __getcwd_generic()302 dirstream = __fdopendir (fd); in __getcwd_generic()303 if (dirstream == NULL) in __getcwd_generic()307 dirstream = __opendir (dotlist); in __getcwd_generic()308 if (dirstream == NULL) in __getcwd_generic()443 if (dirstream && __closedir (dirstream) != 0) in __getcwd_generic()445 dirstream = NULL; in __getcwd_generic()476 if (dirstream) in __getcwd_generic()[all …]
43 DIR *dirstream; in getttyname_r() local47 dirstream = __opendir (buf); in getttyname_r()48 if (dirstream == NULL) in getttyname_r()54 while ((d = __readdir64 (dirstream)) != NULL) in getttyname_r()66 (void) __closedir (dirstream); in getttyname_r()77 (void) __closedir (dirstream); in getttyname_r()83 (void) __closedir (dirstream); in getttyname_r()
568 DIR *dirstream = opendir ("/dev"); in run_chroot_tests() local569 VERIFY (dirstream != NULL); in run_chroot_tests()571 while ((d = readdir (dirstream)) != NULL && ci < 3) in run_chroot_tests()580 VERIFY (closedir (dirstream) == 0); in run_chroot_tests()
Completed in 8 milliseconds