| /netbsd-src/lib/libc/gen/ |
| H A D | closedir.c | 72 fd = dirp->dd_fd; in __weak_alias() 73 dirp->dd_fd = -1; in __weak_alias()
|
| H A D | readdir.c | 69 dirp->dd_seek = lseek(dirp->dd_fd, (off_t)0, SEEK_CUR); in _readdir_unlocked() 70 dirp->dd_size = getdents(dirp->dd_fd, in _readdir_unlocked()
|
| H A D | scandir.c | 105 if ((arraysz = dirsize(dirp->dd_fd, 0)) == 0) in scandir() 123 if ((arraysz = dirsize(dirp->dd_fd, arraysz)) == 0) in scandir()
|
| H A D | rewinddir.c | 65 fd = dirp->dd_fd; in __weak_alias()
|
| H A D | telldir.c | 117 dirp->dd_seek = lseek(dirp->dd_fd, lp->dp_seek, SEEK_SET); in _seekdir_unlocked()
|
| H A D | initdir.c | 253 dirp->dd_fd = fd; in _initdir()
|
| /netbsd-src/sbin/restore/ |
| H A D | dirs.c | 102 int dd_fd; member 484 (void) lseek(rdirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), SEEK_SET); in rst_seekdir() 487 rdirp->dd_size = read(rdirp->dd_fd, rdirp->dd_buf, DIRBLKSIZ); in rst_seekdir() 500 rdirp->dd_size = read(rdirp->dd_fd, rdirp->dd_buf, in rst_readdir() 556 (void)close(rdirp->dd_fd); in rst_closedir() 567 return ((long)lseek(rdirp->dd_fd, in rst_telldir() 586 rdirp->dd_fd = fd; in opendirfile() 730 dp = dup(dirp->dd_fd); in genliteraldir()
|
| /netbsd-src/include/ |
| H A D | dirent.h | 62 int dd_fd; /* file descriptor associated with directory */ member 76 #define dirfd(dirp) ((dirp)->dd_fd)
|
| /netbsd-src/external/gpl2/xcvs/dist/contrib/ |
| H A D | dirfns.shar | 279 X int dd_fd; 328 X close(dirp->dd_fd); 329 X dirp->dd_fd = -1; 366 X dirp->dd_fd = fd; 403 X dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, 452 X (void) lseek(dirp->dd_fd, base, 0); 478 X return (lseek(dirp->dd_fd, 0L, 1) - dirp->dd_size + dirp->dd_loc);
|
| /netbsd-src/distrib/utils/libhack/ |
| H A D | opendir.c | 93 dirp->dd_fd = fd;
|
| /netbsd-src/tools/compat/ |
| H A D | compat_defs.h | 303 #define dirfd(dirp) ((dirp)->dd_fd) 311 int dd_fd; /* file descriptor associated with directory */ member 321 #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd)
|
| H A D | configure.ac | 170 AC_CHECK_MEMBERS([DIR.dd_fd, DIR.__dd_fd, struct dirent.d_namlen],,,
|
| H A D | nbtool_config.h.in | 438 /* Define to 1 if `dd_fd' is a member of `DIR'. */
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/ |
| H A D | dirfd.m4 | 57 for ac_expr in d_fd dd_fd; do
|
| /netbsd-src/usr.sbin/lpr/common_source/ |
| H A D | common.c | 249 if (fstat(dirp->dd_fd, &stbuf) < 0) in getq()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | dirent.d | 325 int dd_fd;
|
| /netbsd-src/usr.bin/rdist/ |
| H A D | expand.c | 314 if (fstat(dirp->dd_fd, &stb) < 0) in matchdir()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | roken.h.in | 812 #define dirfd(x) ((x)->dd_fd) 815 #error Missing dirfd() and ->dd_fd
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/cf/ |
| H A D | roken-frag.m4 | 435 AC_HAVE_STRUCT_FIELD(DIR, dd_fd, [#include <sys/types.h>
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/include/ |
| H A D | config.h.in | 291 /* Define if DIR has field dd_fd. */
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/ |
| H A D | configure | 23489 for ac_expr in d_fd dd_fd; do
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/ |
| H A D | configure | 24719 DIR x; memset(&x, 0, sizeof(x)); x.dd_fd
|