Home
last modified time | relevance | path

Searched refs:dirstream (Results 1 – 5 of 5) sorted by relevance

/sysdeps/posix/
A Dttyname.c42 DIR *dirstream; in getttyname() local
45 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()
A Dttyname_r.c43 DIR *dirstream; in getttyname_r() local
46 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()
A Dgetcwd.c181 DIR *dirstream = NULL; in __getcwd_generic() local
289 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 …]
/sysdeps/unix/sysv/linux/
A Dttyname_r.c43 DIR *dirstream; in getttyname_r() local
47 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()
A Dtst-ttyname.c568 DIR *dirstream = opendir ("/dev"); in run_chroot_tests() local
569 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 7 milliseconds