Searched refs:fd_copy (Results 1 – 1 of 1) sorted by relevance
63 int fd_copy = fds[i]->Fcntl(F_DUPFD_CLOEXEC, 3); in FromFileDescriptors() local64 CF_EXPECT(fd_copy >= 0, "Failed to duplicate fd: " << fds[i]->StrError()); in FromFileDescriptors()65 message.fds_.push_back(fd_copy); in FromFileDescriptors()67 memcpy(CMSG_DATA(message.Raw()) + (i * sizeof(int)), &fd_copy, sizeof(int)); in FromFileDescriptors()