1 .TH ARCHIVE_WRITE_FREE 3 "February 2, 2012" ""
4 \fB\%archive_write_fail\fP,
5 \fB\%archive_write_close\fP,
6 \fB\%archive_write_finish\fP,
7 \fB\%archive_write_free\fP
8 \- functions for creating archives
11 Streaming Archive Library (libarchive, -larchive)
14 \fB#include <archive.h>\fP
18 \fB\%archive_write_fail\fP(\fI\%struct\ archive\ *\fP);
22 \fB\%archive_write_close\fP(\fI\%struct\ archive\ *\fP);
26 \fB\%archive_write_finish\fP(\fI\%struct\ archive\ *\fP);
30 \fB\%archive_write_free\fP(\fI\%struct\ archive\ *\fP);
35 \fB\%archive_write_fail\fP()
38 This marks the archive object as being unusable;
39 after calling this function, the only call that can succeed is
40 \fB\%archive_write_free\fP()
41 to release the resources.
42 This can be used to speed recovery when the archive creation
44 Note that the created archive is likely to be malformed in this case;
46 \fB\%archive_write_close\fP()
47 Complete the archive and invoke the close callback.
49 \fB\%archive_write_finish\fP()
50 This is a deprecated synonym for
51 \fB\%archive_write_free\fP().
53 \fB\%archive_write_free\fP()
55 \fB\%archive_write_close\fP()
56 if necessary, then releases all resources.
57 If you need detailed information about
58 \fB\%archive_write_close\fP()
59 failures, you should be careful to call it separately, as
60 you cannot obtain error information after
61 \fB\%archive_write_free\fP()
66 These functions return
72 Detailed error codes and textual descriptions are available from the
73 \fB\%archive_errno\fP()
75 \fB\%archive_error_string\fP()
80 \fBarchive_write_set_options\fP(3),