source: src/router/busybox/archival/libunarchive/data_extract_to_stdout.c @ 8864

Last change on this file since 8864 was 8864, checked in by BrainSlayer, 5 years ago

replace busybox with new version

File size: 325 bytes
Line 
1/* vi: set sw=4 ts=4: */
2/*
3 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
4 */
5
6#include "libbb.h"
7#include "unarchive.h"
8
9void data_extract_to_stdout(archive_handle_t *archive_handle)
10{
11        bb_copyfd_exact_size(archive_handle->src_fd,
12                        STDOUT_FILENO,
13                        archive_handle->file_header->size);
14}
Note: See TracBrowser for help on using the repository browser.