1 ARCHIVE_WRITE_HEADER(3) manual page
3 '''archive_write_header'''
4 - functions for creating archives
6 Streaming Archive Library (libarchive, -larchive)
8 '''<nowiki>#include <archive.h></nowiki>'''
12 '''archive_write_header'''(''struct archive *'', ''struct archive_entry *'');
14 Build and write a header using the data in the provided
15 '''struct archive_entry'''
18 [[ManPageArchiveEntry3]]
19 for information on creating and populating
20 '''struct archive_entry'''
25 on success, or one of the following on error:
27 for operations that might succeed if retried,
29 for unusual conditions that do not prevent further operations, and
31 for serious errors that make remaining operations impossible.
33 Detailed error codes and textual descriptions are available from the
36 '''archive_error_string'''()
40 [[ManPageLibarchive3]],
41 [[ManPageArchiveWriteSetOptions3]],