mxe/src/libarchive-test.c

22 lines
360 B
C
Raw Normal View History

/*
* This file is part of MXE.
2012-03-29 11:14:15 +01:00
* See index.html for further information.
*/
#include <archive.h>
int main(int argc, char *argv[])
{
struct archive *tgz;
(void)argc;
(void)argv;
tgz = archive_write_new();
2014-04-10 18:56:12 +01:00
archive_write_set_options(tgz, "gzip=9");
archive_write_set_format_ustar(tgz);
2014-04-10 18:56:12 +01:00
archive_write_free(tgz);
return 0;
}