예제 #1
0
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;
}
예제 #2
0
파일: copyfd.c 프로젝트: Nusince/TWRP2
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;
}
예제 #3
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);
}
예제 #4
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);
	}
}
예제 #5
0
static off_t bb_copyfd_eof(int fd1, int fd2)
{
    return bb_full_fd_action(fd1, fd2, 0);
}
예제 #6
0
파일: copyfd.c 프로젝트: Nusince/TWRP2
off_t FAST_FUNC bb_copyfd_eof(int fd1, int fd2)
{
	return bb_full_fd_action(fd1, fd2, 0);
}
예제 #7
0
int bb_copyfd_eof(int fd1, int fd2)
{
	return (bb_full_fd_action(fd1, fd2, 0));
}