Home
last modified time | relevance | path

Searched refs:dd_fd (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/lib/libc/gen/
H A Dclosedir.c72 fd = dirp->dd_fd; in __weak_alias()
73 dirp->dd_fd = -1; in __weak_alias()
H A Dreaddir.c69 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 Dscandir.c105 if ((arraysz = dirsize(dirp->dd_fd, 0)) == 0) in scandir()
123 if ((arraysz = dirsize(dirp->dd_fd, arraysz)) == 0) in scandir()
H A Drewinddir.c65 fd = dirp->dd_fd; in __weak_alias()
H A Dtelldir.c117 dirp->dd_seek = lseek(dirp->dd_fd, lp->dp_seek, SEEK_SET); in _seekdir_unlocked()
H A Dinitdir.c253 dirp->dd_fd = fd; in _initdir()
/netbsd-src/sbin/restore/
H A Ddirs.c102 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 Ddirent.h62 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 Ddirfns.shar279 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 Dopendir.c93 dirp->dd_fd = fd;
/netbsd-src/tools/compat/
H A Dcompat_defs.h303 #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 Dconfigure.ac170 AC_CHECK_MEMBERS([DIR.dd_fd, DIR.__dd_fd, struct dirent.d_namlen],,,
H A Dnbtool_config.h.in438 /* Define to 1 if `dd_fd' is a member of `DIR'. */
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Ddirfd.m457 for ac_expr in d_fd dd_fd; do
/netbsd-src/usr.sbin/lpr/common_source/
H A Dcommon.c249 if (fstat(dirp->dd_fd, &stbuf) < 0) in getq()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Ddirent.d325 int dd_fd;
/netbsd-src/usr.bin/rdist/
H A Dexpand.c314 if (fstat(dirp->dd_fd, &stb) < 0) in matchdir()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Droken.h.in812 #define dirfd(x) ((x)->dd_fd)
815 #error Missing dirfd() and ->dd_fd
/netbsd-src/crypto/external/bsd/heimdal/dist/cf/
H A Droken-frag.m4435 AC_HAVE_STRUCT_FIELD(DIR, dd_fd, [#include <sys/types.h>
/netbsd-src/crypto/external/bsd/heimdal/dist/include/
H A Dconfig.h.in291 /* Define if DIR has field dd_fd. */
/netbsd-src/external/gpl3/gdb/dist/gnulib/
H A Dconfigure23489 for ac_expr in d_fd dd_fd; do
/netbsd-src/crypto/external/bsd/heimdal/dist/
H A Dconfigure24719 DIR x; memset(&x, 0, sizeof(x)); x.dd_fd