summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/examples/minitar/README
blob: 83f646cdb313e2bcd169b2bac3cbdd2ff28151fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"minitar" is a minimal example of a program that uses libarchive to
read/write various archive formats.  It's a more ambitious version of
'untar.c' that includes compile-time options to enable/disable various
features, including non-tar formats, archive creation, and automatic
decompression support.

I use this as a test bed to check for "link pollution," ensuring that
a program using libarchive does not pull in unnecessary code.

The "minitar" program is also a good starting point for anyone who
wants to use libarchive for their own purposes, as it demonstrates
basic usage of the library.