/src/lib/libc/gen/ |
closedir.c | 72 fd = dirp->dd_fd; 73 dirp->dd_fd = -1;
|
rewinddir.c | 65 fd = dirp->dd_fd;
|
scandir.c | 105 if ((arraysz = dirsize(dirp->dd_fd, 0)) == 0) 123 if ((arraysz = dirsize(dirp->dd_fd, arraysz)) == 0)
|
readdir.c | 69 dirp->dd_seek = lseek(dirp->dd_fd, (off_t)0, SEEK_CUR); 70 dirp->dd_size = getdents(dirp->dd_fd,
|
telldir.c | 117 dirp->dd_seek = lseek(dirp->dd_fd, lp->dp_seek, SEEK_SET);
|
initdir.c | 253 dirp->dd_fd = fd;
|
/src/include/ |
dirent.h | 60 * dd_fd should be kept intact to preserve ABI compat. see dirfd(). 62 int dd_fd; /* file descriptor associated with directory */ member in struct:_dirdesc 76 #define dirfd(dirp) ((dirp)->dd_fd)
|
/src/distrib/utils/libhack/ |
opendir.c | 93 dirp->dd_fd = fd;
|
/src/sbin/restore/ |
dirs.c | 102 int dd_fd; member in struct:rstdirdesc 484 (void) lseek(rdirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), SEEK_SET); 487 rdirp->dd_size = read(rdirp->dd_fd, rdirp->dd_buf, DIRBLKSIZ); 500 rdirp->dd_size = read(rdirp->dd_fd, rdirp->dd_buf, 556 (void)close(rdirp->dd_fd); 567 return ((long)lseek(rdirp->dd_fd, 586 rdirp->dd_fd = fd; 730 dp = dup(dirp->dd_fd);
|
/src/usr.sbin/lpr/common_source/ |
common.c | 249 if (fstat(dirp->dd_fd, &stbuf) < 0)
|
/src/tools/compat/ |
compat_defs.h | 303 #define dirfd(dirp) ((dirp)->dd_fd) 311 int dd_fd; /* file descriptor associated with directory */ member in struct:_dirdesc 321 #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd)
|
configure.ac | 185 AC_CHECK_MEMBERS([DIR.dd_fd, DIR.__dd_fd, struct dirent.d_namlen],,,
|
/src/usr.bin/rdist/ |
expand.c | 314 if (fstat(dirp->dd_fd, &stb) < 0)
|