1 .TH ARCHIVE_READ_FREE 3 "February 2, 2012" ""
4 \fB\%archive_read_close\fP,
5 \fB\%archive_read_finish\fP,
6 \fB\%archive_read_free\fP
7 \- functions for reading streaming archives
10 Streaming Archive Library (libarchive, -larchive)
13 \fB#include <archive.h>\fP
17 \fB\%archive_read_close\fP(\fI\%struct\ archive\ *\fP);
21 \fB\%archive_read_finish\fP(\fI\%struct\ archive\ *\fP);
25 \fB\%archive_read_free\fP(\fI\%struct\ archive\ *\fP);
30 \fB\%archive_read_close\fP()
31 Complete the archive and invoke the close callback.
33 \fB\%archive_read_finish\fP()
34 This is a deprecated synonym for
35 \fB\%archive_read_free\fP().
36 The new name was introduced with libarchive 3.0.
37 Applications that need to compile with either libarchive 2
38 or libarchive 3 should continue to use the
39 \fB\%archive_read_finish\fP()
41 Both names will be supported until libarchive 4.0 is
42 released, which is not expected to occur earlier
45 \fB\%archive_read_free\fP()
47 \fB\%archive_read_close\fP()
48 if it was not invoked manually, then release all resources.
49 Note: In libarchive 1.x, this function was declared to return
51 which made it impossible to detect certain errors when
52 \fB\%archive_read_close\fP()
53 was invoked implicitly from this function.
54 The declaration is corrected beginning with libarchive 2.0.
58 These functions return
64 Detailed error codes and textual descriptions are available from the
65 \fB\%archive_errno\fP()
67 \fB\%archive_error_string\fP()
71 \fBarchive_read_data\fP(3),
72 \fBarchive_read_filter\fP(3),
73 \fBarchive_read_format\fP(3),
74 \fBarchive_read_new\fP(3),
75 \fBarchive_read_open\fP(3),
76 \fBarchive_read_set_options\fP(3),
77 \fBarchive_util\fP(3),