Manpages - archive_write_header.3
Streaming Archive Library (libarchive, -larchive)
Build and write a header using the data in the provided
structure. See
for information on creating and populating
objects.
This function returns
on success, or one of the following on error:
for operations that might succeed if retried,
for unusual conditions that do not prevent further operations, and
for serious errors that make remaining operations impossible.
Detailed error codes and textual descriptions are available from the
and
functions.