Blame doc/man/archive_write_header.3

Packit Service 1d0348
.TH ARCHIVE_WRITE_HEADER 3 "February 2, 2012" ""
Packit Service 1d0348
.SH NAME
Packit Service 1d0348
.ad l
Packit Service 1d0348
\fB\%archive_write_header\fP
Packit Service 1d0348
\- functions for creating archives
Packit Service 1d0348
.SH LIBRARY
Packit Service 1d0348
.ad l
Packit Service 1d0348
Streaming Archive Library (libarchive, -larchive)
Packit Service 1d0348
.SH SYNOPSIS
Packit Service 1d0348
.ad l
Packit Service 1d0348
\fB#include <archive.h>\fP
Packit Service 1d0348
.br
Packit Service 1d0348
\fIint\fP
Packit Service 1d0348
.br
Packit Service 1d0348
\fB\%archive_write_header\fP(\fI\%struct\ archive\ *\fP, \fI\%struct\ archive_entry\ *\fP);
Packit Service 1d0348
.SH DESCRIPTION
Packit Service 1d0348
.ad l
Packit Service 1d0348
Build and write a header using the data in the provided
Packit Service 1d0348
Tn struct archive_entry
Packit Service 1d0348
structure.
Packit Service 1d0348
See
Packit Service 1d0348
\fBarchive_entry\fP(3)
Packit Service 1d0348
for information on creating and populating
Packit Service 1d0348
Tn struct archive_entry
Packit Service 1d0348
objects.
Packit Service 1d0348
.SH RETURN VALUES
Packit Service 1d0348
.ad l
Packit Service 1d0348
This function returns
Packit Service 1d0348
\fBARCHIVE_OK\fP
Packit Service 1d0348
on success, or one of the following on error:
Packit Service 1d0348
\fBARCHIVE_RETRY\fP
Packit Service 1d0348
for operations that might succeed if retried,
Packit Service 1d0348
\fBARCHIVE_WARN\fP
Packit Service 1d0348
for unusual conditions that do not prevent further operations, and
Packit Service 1d0348
\fBARCHIVE_FATAL\fP
Packit Service 1d0348
for serious errors that make remaining operations impossible.
Packit Service 1d0348
.SH ERRORS
Packit Service 1d0348
.ad l
Packit Service 1d0348
Detailed error codes and textual descriptions are available from the
Packit Service 1d0348
\fB\%archive_errno\fP()
Packit Service 1d0348
and
Packit Service 1d0348
\fB\%archive_error_string\fP()
Packit Service 1d0348
functions.
Packit Service 1d0348
.SH SEE ALSO
Packit Service 1d0348
.ad l
Packit Service 1d0348
\fBtar\fP(1),
Packit Service 1d0348
\fBlibarchive\fP(3),
Packit Service 1d0348
\fBarchive_write_set_options\fP(3),
Packit Service 1d0348
\fBcpio\fP(5),
Packit Service 1d0348
\fBmtree\fP(5),
Packit Service 1d0348
\fBtar\fP(5)