getfd
int fd[2], putfd, getfd;
rlen = recvfd_payload(fd[1], &getfd, buf, 2,
ATF_REQUIRE(close(getfd) == 0);
int fd[2], getfd, putfd;
recvfd(fd[1], &getfd, 0);
dofstat(getfd, &getfd_stat);
close(getfd);
int fd[2], getfd, putfd;
recvfd(fd[1], &getfd, MSG_CMSG_CLOEXEC);
dofstat(getfd, &getfd_stat);
ATF_REQUIRE_EQ_MSG(fcntl(getfd, F_GETFD) & FD_CLOEXEC, FD_CLOEXEC,
close(getfd);
int fd[2], getfd, putfd;
recvfd(fd[1], &getfd, MSG_CMSG_CLOFORK);
dofstat(getfd, &getfd_stat);
ATF_REQUIRE_EQ_MSG(fcntl(getfd, F_GETFD) & FD_CLOFORK, FD_CLOFORK,
close(getfd);
int fd[2], getfd, putfd;
recvfd(fd[1], &getfd, 0);
dofstat(getfd, &getfd_stat);
close(getfd);
int fd[2], getfd, putfd, nfds;
recvfd(fd[1], &getfd, 0);
close(getfd);
int fd[2], getfd;
recvfd(fd[1], &getfd, 0);
close(getfd);
int fd[2], getfd, putfd, rc;
rlen = recvfd_payload(fd[1], &getfd, buf, len,
close(getfd);
int fd = getfd(O_RDONLY);
int fd = getfd(O_WRONLY);
int fd = getfd(O_RDONLY);
int fd = getfd(O_RDONLY);
int fd = getfd(O_WRONLY);