fchflags
if (fdval ? fchflags(fd, fs->st_flags) :
if (fchflags(to_fd,
(void) fchflags(ofile, flags);
int fchflags(int, unsigned long);
ATF_REQUIRE_EQ(0, fchflags(filedesc, UF_OFFLINE));
ATF_REQUIRE_ERRNO(EBADF, fchflags(-1, UF_OFFLINE) == -1);
CHECK_RIGHT_RESULT(fchflags(cap_fd, UF_NODUMP), rights, CAP_FCHFLAGS);
rc = fchflags(fd_file_, UF_NODUMP);
ATF_REQUIRE_ERRNO(EBADF, fchflags(pathfd, UF_NODUMP) == -1);
ret = fchflags(fd_cap, UF_NODUMP);
CHECK_RESULT(fchflags, CAP_FCHFLAGS,
CHECK_NOT_CAPMODE(fchflags, fd_file, UF_NODUMP);
if (fchflags(fd, UF_NODUMP) == 0)
if (sb.st_flags != 0 && fchflags(fd, sb.st_flags) < 0)
(void)fchflags(to_fd, to_sb.st_flags & ~NOCHANGEBITS);
fchflags(to_fd,
failed = fchflags(fd, UF_NODUMP);
if (fchflags(destfd, st.st_flags) != 0)