Category : archive

I’m starting to learn libarchive for integrating it in one of my projects. In the first example that I can see it explains how to open an archive and list stored files: struct archive *a; struct archive_entry *entry; int r; a = archive_read_new(); archive_read_support_filter_all(a); archive_read_support_format_all(a); r = archive_read_open_filename(a, "archive.tar", 10240); // Note 1 if (r ..

Read more