/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | dirfd.h | 1 /* Declare dirfd, if necessary. 27 #if !HAVE_DECL_DIRFD && !defined dirfd 28 int dirfd (DIR const *);
|
H A D | dirfd.c | 0 /* dirfd.c -- return the file descriptor associated with an open DIR* 23 #include "dirfd.h" 26 dirfd (DIR const *dir_p) function
|
H A D | fchdir.c | 33 #include "dirfd.h" 136 descriptors. Needed because there is a function dirfd(). */ 142 int fd = dirfd (dp); 164 int fd = dirfd (dp);
|
H A D | getcwd.c | 22 # include "dirfd.h" 100 /* The results of opendir() in this file are not used with dirfd and fchdir, 240 fd = dirfd (dirstream);
|
H A D | gnulib.mk | 210 ## 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.10/Libc-1044.1.2/gen/ |
H A D | dirfd.c | 28 int dirfd(DIR *dirp) { function
|
H A D | fts.c | 724 if (FCHDIR(sp, dirfd(dirp))) {
|
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | cloexec.c | 64 rk_cloexec(dirfd(d));
|
H A D | roken.h.in | 744 #define dirfd(x) ((x)->dd_fd) 746 #ifndef _WIN32 /* Windows code never calls dirfd */ 747 #error Missing dirfd() and ->dd_fd
|
/macosx-10.10/BerkeleyDB-21/db/clib/ |
H A D | getcwd.c | 64 #ifndef dirfd 65 #define dirfd(dirp) ((dirp)->dd_fd) macro 179 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
|
/macosx-10.10/Libc-1044.1.2/include/ |
H A D | dirent.h | 181 #define dirfd(dirp) ({ \ macro 191 int dirfd(DIR *dirp) __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
|
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/ |
H A D | bsd-closefrom.c | 84 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp))
|
H A D | getcwd.c | 148 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
|
/macosx-10.10/sudo-73/src/ |
H A D | closefrom.c | 117 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp))
|
H A D | getcwd.c | 179 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s))
|
H A D | missing.h | 239 * If dirfd() does not exists, hopefully dd_fd does. 242 # define dirfd(_d) ((_d)->dd_fd) macro
|
/macosx-10.10/kext_tools-384.1.4/ |
H A D | safecalls.c | 179 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.10/zsh-61/zsh/Src/Modules/ |
H A D | files.c | 387 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.10/Heimdal-398.1.2/lib/krb5/ |
H A D | kuserok.c | 141 fd = dirfd(d);
|
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/ |
H A D | getcwd.c | 236 if (!(dir = opendir(up)) || _fstat(dirfd(dir), &s))
|
/macosx-10.10/xnu-2782.1.97/bsd/sys/ |
H A D | file_internal.h | 259 extern int nameiat(struct nameidata *ndp, int dirfd);
|
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/ |
H A D | tests.c | 5240 int dirfd = -1; local 5265 dirfd = openat (AT_FDCWD, target, O_RDONLY, 0); 5266 if (dirfd == -1) { 5274 retcount = getattrlistbulk(dirfd, 5314 if (dirfd != -1) { 5315 (void)close(dirfd);
|
/macosx-10.10/zsh-61/zsh/Src/ |
H A D | glob.c | 637 if (ds.dirfd >= 0) 638 close(ds.dirfd);
|
H A D | zsh.h | 991 int dirfd, level; member in struct:dirsav
|
/macosx-10.10/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_syscalls.c | 2874 nameiat(struct nameidata *ndp, int dirfd) argument 2876 if ((dirfd != AT_FDCWD) && 2893 error = vnode_getfromfd(ndp->ni_cnd.cn_context, dirfd, 3485 int dirfd) 3487 if ((dirfd != AT_FDCWD) && !(ndp->ni_cnd.cn_flags & USEDVP)) { 3502 error = vnode_getfromfd(ndp->ni_cnd.cn_context, dirfd, 3483 open1at(vfs_context_t ctx, struct nameidata *ndp, int uflags, struct vnode_attr *vap, fp_allocfn_t fp_zalloc, void *cra, int32_t *retval, int dirfd) argument
|