ARCHIVE_WRITE_HEADER(3)  BSD Library Functions Manual  ARCHIVE_WRITE_HEADER(3)

1mNAME0m
     1marchive_write_header 22m— functions for creating archives

1mLIBRARY0m
     Streaming Archive Library (libarchive, -larchive)

1mSYNOPSIS0m
     1m#include <archive.h>0m

     4mint0m
     1marchive_write_header22m(4mstruct24m 4marchive24m 4m*24m, 4mstruct24m 4marchive_entry24m 4m*24m);

1mDESCRIPTION0m
     Build and write a header using the data in the provided struct
     archive_entry structure.  See archive_entry(3) for information on creat‐
     ing and populating struct archive_entry objects.

1mRETURN VALUES0m
     This function returns 1mARCHIVE_OK 22mon success, or one of the following on
     error: 1mARCHIVE_RETRY 22mfor operations that might succeed if retried,
     1mARCHIVE_WARN 22mfor unusual conditions that do not prevent further opera‐
     tions, and 1mARCHIVE_FATAL 22mfor serious errors that make remaining opera‐
     tions impossible.

1mERRORS0m
     Detailed error codes and textual descriptions are available from the
     1marchive_errno22m() and 1marchive_error_string22m() functions.

1mSEE ALSO0m
     tar(1), libarchive(3), archive_write_set_options(3), cpio(5), mtree(5),
     tar(5)

BSD			       February 2, 2012 			   BSD
