add ext4,vfat and tar.bz2
[u-tools.git] / u-tools / apps / busybox / archival / libunarchive / data_extract_to_stdout.c
bloba3efea16dfbfcdf10877aa8c545c68f3836e2166
1 /* vi: set sw=4 ts=4: */
2 /*
3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
4 */
6 #include "libbb.h"
7 #include "unarchive.h"
9 void FAST_FUNC data_extract_to_stdout(archive_handle_t *archive_handle)
11 bb_copyfd_exact_size(archive_handle->src_fd,
12 STDOUT_FILENO,
13 archive_handle->file_header->size);