Searched refs:dfd (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215/tests/ |
| H A D | netbsd_utimensat.c | 85 int dfd; variable 95 T_ASSERT_POSIX_ZERO(close(dfd), NULL); 137 int dfd; variable 141 T_ASSERT_EQ(utimensat(dfd, FILEERR, tptr, 0), -1, NULL); 142 T_ASSERT_POSIX_ZERO(close(dfd), NULL); 149 int dfd; variable 158 T_ASSERT_EQ(utimensat(dfd, BASEFILE, tptr, 0), -1, NULL); 159 T_ASSERT_POSIX_ZERO(close(dfd), NULL); 179 int dfd; variable 187 T_ASSERT_EQ(utimensat(dfd, BASELINK, tptr, 0), -1, NULL); [all …]
|
| /xnu-11215/bsd/sys/ |
| H A D | filedesc.h | 424 extern int dupfdopen(proc_t p, int indx, int dfd, int mode, int error);
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_descrip.c | 1821 dupfdopen(proc_t p, int indx, int dfd, int flags, int error) in dupfdopen() argument 1840 if (dfd < 0 || dfd >= fdp->fd_nfiles || in dupfdopen() 1841 (wfp = fdp->fd_ofiles[dfd]) == NULL || wfp == fp || in dupfdopen() 1842 (fdp->fd_ofileflags[dfd] & UF_RESERVED)) { in dupfdopen() 1847 myerror = mac_file_check_dup(kauth_cred_get(), wfp->fp_glob, dfd); in dupfdopen()
|