Home
last modified time | relevance | path

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

/glibc-2.36/sysdeps/posix/
Dgetcwd.c181 DIR *dirstream = NULL; in __getcwd_generic() local
296 if (dirstream && __closedir (dirstream) != 0) in __getcwd_generic()
298 dirstream = NULL; in __getcwd_generic()
309 dirstream = __fdopendir (fd); in __getcwd_generic()
310 if (dirstream == NULL) in __getcwd_generic()
314 dirstream = __opendir (dotlist); in __getcwd_generic()
315 if (dirstream == NULL) in __getcwd_generic()
324 d = __readdir64 (dirstream); in __getcwd_generic()
336 __rewinddir (dirstream); in __getcwd_generic()
337 d = __readdir64 (dirstream); in __getcwd_generic()
[all …]
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()
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()
/glibc-2.36/sysdeps/unix/sysv/linux/
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()
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()
/glibc-2.36/manual/
Dfilesys.texi454 @deftypefun int dirfd (DIR *@var{dirstream})
458 the directory stream @var{dirstream}. This descriptor can be used until
472 @deftypefun {struct dirent *} readdir (DIR *@var{dirstream})
475 @c This function holds dirstream's non-recursive lock, which brings
482 file. This structure is associated with the @var{dirstream} handle
495 The @var{dirstream} argument is not valid.
523 @deftypefun int readdir_r (DIR *@var{dirstream}, struct dirent *@var{entry}, struct dirent **@var{r…
551 even when access to the same @var{dirstream} is serialized. But in
553 @code{readdir} concurrently on different @var{dirstream}s, so there is
556 @var{dirstream}, it is still better to use @code{readdir} and external
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.467 * sysdeps/mach/hurd/dirstream.h (DIR): Use unsigned long int for
319 * sysdeps/unix/bsd/osf1/dirstream.h: File removed.
370 * sysdeps/unix/bsd/dirstream.h [__USE_BSD] (dirfd): New macro.
529 * sysdeps/unix/bsd/dirstream.h (DIR): New member `__pos'.
2009 * sysdeps/unix/bsd/osf1/dirstream.h (DIR): Make __allocation
2211 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__filepos' member
DChangeLog.2250 * sysdeps/unix/bsd/osf1/dirstream.h: New file.
253 * sysdeps/unix/bsd/osf1/dirstream.h: New file.
309 * dirent/Makefile (headers): Define; include dirent.h & dirstream.h.
326 (DIR): Move typedef to sysdep file dirstream.h.
327 * sysdeps/unix/dirstream.h: New file, broken out of dirent.h.
328 * sysdeps/stub/dirstream.h: New file.
329 * sysdeps/unix/bsd/dirstream.h: New file.
DChangeLog.54287 * sysdeps/unix/bsd/dirstream.h: File removed.
4334 * sysdeps/unix/dirstream.h: Rewritten.
4337 * sysdeps/unix/closedir.c: Use <...> instead of "..." for dirstream.h.
7502 * dirent/dirent.h: Don't include <dirstream.h>.
7507 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
7509 * sysdeps/unix/bsd/dirstream.h: Likewise.
7510 * sysdeps/stub/dirstream.h: Likewise.
7511 * sysdeps/unix/dirstream.h: Likewise.
7512 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
7525 * dirent/Makefile (headers): Remove dirstream.h.
[all …]
DChangeLog.61506 * sysdeps/unix/dirstream.h: Likewise.
8742 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Likewise.
8744 * sysdeps/unix/dirstream.h (struct __dirstream): Likewise.
9358 * sysdeps/mach/hurd/dirstream.h: Include <libc-lock.h>.
9360 * sysdeps/unix/dirstream.h: Likewise.
DChangeLog.76367 * sysdeps/mach/hurd/dirstream.h: Likewise.
6437 * sysdeps/standalone/dirstream.h: Likewise.
6468 * sysdeps/stub/dirstream.h: Likewise.
7378 * sysdeps/mach/hurd/dirstream.h: Likewise.
7396 * sysdeps/unix/dirstream.h: Likewise.
9464 * sysdeps/standalone/dirstream.h: Define struct __dirstream
DChangeLog.227975 * sysdeps/posix/dirstream.h: Move to...
7976 * sysdeps/unix/sysv/linux/dirstream.h: ... here.
7983 [!_DIRENT_MATCHES_DIRENT64](dirstream.h): Include file.
DChangeLog.136327 * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t
13637 * include/dirent.h: Include <dirstream.h> first.
DChangeLog.1831983 * sysdeps/mach/hurd/dirstream.h: Likewise.
31987 * sysdeps/posix/dirstream.h: Likewise.
62628 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
64598 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
78629 * sysdeps/unix/dirstream.h: Renamed to ...
78630 * sysdeps/posix/dirstream.h: ... here.
88019 * include/dirent.h: Include <dirstream.h> before
DChangeLog.11454 * sysdeps/unix/bsd/osf/=dirstream.h: Removed.
DChangeLog.1710226 * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn
/glibc-2.36/benchtests/strcoll-inputs/
Dfilelist#C3269 dirstream.h
3354 dirstream.h
6015 dirstream.h
Dfilelist#en_US.UTF-83269 dirstream.h
3354 dirstream.h
6015 dirstream.h