Searched refs:dirfd (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Ddirfd.h1 /* Declare dirfd, if necessary.
27 #if !HAVE_DECL_DIRFD && !defined dirfd
28 int dirfd (DIR const *);
H A Ddirfd.c0 /* dirfd.c -- return the file descriptor associated with an open DIR*
23 #include "dirfd.h"
26 dirfd (DIR const *dir_p) function
H A Dfchdir.c33 #include "dirfd.h"
136 descriptors. Needed because there is a function dirfd(). */
142 int fd = dirfd (dp);
164 int fd = dirfd (dp);
H A Dgetcwd.c22 # include "dirfd.h"
100 /* The results of opendir() in this file are not used with dirfd and fchdir,
240 fd = dirfd (dirstream);
H A Dgnulib.mk210 ## begin gnulib module dirfd
213 EXTRA_DIST += dirfd.c dirfd.h
215 EXTRA_libtar_a_SOURCES += dirfd.c
217 ## end gnulib module dirfd
/macosx-10.9.5/Libc-997.90.3/gen/
H A Ddirfd.c28 int dirfd(DIR *dirp) { function
H A Dfts.c724 if (FCHDIR(sp, dirfd(dirp))) {
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dcloexec.c64 rk_cloexec(dirfd(d));
H A Droken.h.in744 #define dirfd(x) ((x)->dd_fd)
746 #ifndef _WIN32 /* Windows code never calls dirfd */
747 #error Missing dirfd() and ->dd_fd
/macosx-10.9.5/BerkeleyDB-21/db/clib/
H A Dgetcwd.c64 #ifndef dirfd
65 #define dirfd(dirp) ((dirp)->dd_fd) macro
179 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
/macosx-10.9.5/Libc-997.90.3/include/
H A Ddirent.h170 #define dirfd(dirp) ({ \ macro
180 int dirfd(DIR *dirp) __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/
H A Dbsd-closefrom.c84 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp))
H A Dgetcwd.c148 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
/macosx-10.9.5/sudo-72/src/
H A Dclosefrom.c117 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp))
H A Dgetcwd.c179 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
H A Dmissing.h239 * If dirfd() does not exists, hopefully dd_fd does.
242 # define dirfd(_d) ((_d)->dd_fd) macro
/macosx-10.9.5/kext_tools-326.95.1/
H A Dsafecalls.c179 int dirfd = -1, savedir = -1; local
190 if (-1 == (dirfd = open(parent, O_RDONLY, 0))) goto finish;
192 if (spolicy(fdvol, dirfd)) {
206 if ((bsderr = fchdir(dirfd))) goto finish;
220 if (dirfd != -1) close(dirfd);
555 if (spolicy(srcfdvol, dirfd(dir)))
/macosx-10.9.5/zsh-60/zsh/Src/Modules/
H A Dfiles.c387 if ((ds.dirfd = open(".", O_RDONLY|O_NOCTTY)) < 0 &&
389 ds.dirfd = open("..", O_RDONLY|O_NOCTTY);
413 d.dirfd = d.level = -1;
426 if ((err & 2) && ds.dirfd >= 0 && restoredir(&ds) && zchdir(pwd)) {
432 if (ds.dirfd >= 0)
433 close(ds.dirfd);
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dkuserok.c141 fd = dirfd(d);
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Dgetcwd.c236 if (!(dir = opendir(up)) || _fstat(dirfd(dir), &s))
/macosx-10.9.5/zsh-60/zsh/Src/
H A Dglob.c672 if (ds.dirfd >= 0)
673 close(ds.dirfd);
H A Dzsh.h975 int dirfd, level; member in struct:dirsav
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/
H A Dhelper.c1379 if (fd >= from && fd != dirfd(dirp))
/macosx-10.9.5/gnutar-452/gnutar/
H A Dconfigure18322 for ac_func in dirfd
18431 { echo "$as_me:$LINENO: checking whether dirfd is declared" >&5
18432 echo $ECHO_N "checking whether dirfd is declared... $ECHO_C" >&6; }
18448 #ifndef dirfd
18449 char *p = (char *) dirfd;
18520 { echo "$as_me:$LINENO: checking whether dirfd is a macro" >&5
18521 echo $ECHO_N "checking whether dirfd is a macro... $ECHO_C" >&6; }
18534 #ifdef dirfd
18555 for ac_func in dirfd
[all...]
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dconfigure9513 dirfd \

Completed in 383 milliseconds

12