Home | History | Annotate | Download | only in posix

Lines Matching defs:cfd

145   int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD,
166 || (!fstatat(cfd, catch, &cst, 0) && cst.st_dev == try->st.st_dev
177 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) {
184 } else if ((flags & FLAG_F) && unlinkat(cfd, catch, 0)) {
225 if (!mkdirat(cfd, catch, try->st.st_mode | 0200) || errno == EEXIST)
226 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW)))
234 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0;
257 if (!symlinkat(s, cfd, catch)) {
272 sizeof(toybuf) > i && !symlinkat(toybuf, cfd, catch))
273 : !mknodat(cfd, catch, try->st.st_mode, try->st.st_rdev))
288 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode);
320 } while (err && (flags & (FLAG_f|FLAG_n)) && !unlinkat(cfd, catch, 0));
335 rc = fchownat(cfd, catch, try->st.st_uid, try->st.st_gid,
350 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW);