static off_t bb_copyfd_size(int fd1, int fd2, off_t size) { if (size) { return bb_full_fd_action(fd1, fd2, size); } return 0; }
off_t FAST_FUNC bb_copyfd_size(int fd1, int fd2, off_t size) { if (size) { return bb_full_fd_action(fd1, fd2, size); } return 0; }
extern int bb_copyfd_size(int fd1, int fd2, const off_t size) { if (size) { return(bb_full_fd_action(fd1, fd2, size)); } return(0); }
/* If we are reading through a pipe(), or from stdin then we cant lseek, * we must read and discard the data to skip over it. * * TODO: rename to seek_by_read */ extern void seek_by_char(const archive_handle_t *archive_handle, const unsigned int jump_size) { if (jump_size) { bb_full_fd_action(archive_handle->src_fd, -1, jump_size, NULL); } }
static off_t bb_copyfd_eof(int fd1, int fd2) { return bb_full_fd_action(fd1, fd2, 0); }
off_t FAST_FUNC bb_copyfd_eof(int fd1, int fd2) { return bb_full_fd_action(fd1, fd2, 0); }
int bb_copyfd_eof(int fd1, int fd2) { return (bb_full_fd_action(fd1, fd2, 0)); }