busybox/archival/libunarchive/data_extract_to_stdout.c

9 lines
232 B
C
Raw Normal View History

2002-09-25 08:17:48 +05:30
#include <stdlib.h>
#include <stdio.h>
#include "unarchive.h"
extern void data_extract_to_stdout(archive_handle_t *archive_handle)
{
copy_file_chunk_fd(archive_handle->src_fd, fileno(stdout), archive_handle->file_header->size);
}