Searched refs:fd_read (Results 1 – 1 of 1) sorted by relevance
200 size_t cpioWriteFileContent(int fd_read, int out_fd, struct stat& st) { in cpioWriteFileContent() argument206 ssize_t bytes_read = read(fd_read, read_buf.data(), read_buf.size()); in cpioWriteFileContent()275 const int fd_read = open(cur_file_path.c_str(), O_RDONLY); in cpioArchiveFilesInDir() local276 if (fd_read == -1) { in cpioArchiveFilesInDir()281 unique_fd file_auto_closer(fd_read); in cpioArchiveFilesInDir()286 size_t write_error = cpioWriteFileContent(fd_read, out_fd, st); in cpioArchiveFilesInDir()