aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/data_extract_to_stdout.c
blob: 00687b3152733ba14010657277d296efb35c224a (plain)
1
2
3
4
5
6
7
8
#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);
}