Blame doc/text/archive_write_header.3.txt
|
Packit Service |
1d0348 |
ARCHIVE_WRITE_HEADER(3) BSD Library Functions Manual ARCHIVE_WRITE_HEADER(3)
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
NAME
|
|
Packit Service |
1d0348 |
archive_write_header — functions for creating archives
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
LIBRARY
|
|
Packit Service |
1d0348 |
Streaming Archive Library (libarchive, -larchive)
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
SYNOPSIS
|
|
Packit Service |
1d0348 |
#include <archive.h>
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
int
|
|
Packit Service |
1d0348 |
archive_write_header(struct archive *, struct archive_entry *);
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
DESCRIPTION
|
|
Packit Service |
1d0348 |
Build and write a header using the data in the provided struct
|
|
Packit Service |
1d0348 |
archive_entry structure. See archive_entry(3) for information on creat‐
|
|
Packit Service |
1d0348 |
ing and populating struct archive_entry objects.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
RETURN VALUES
|
|
Packit Service |
1d0348 |
This function returns ARCHIVE_OK on success, or one of the following on
|
|
Packit Service |
1d0348 |
error: ARCHIVE_RETRY for operations that might succeed if retried,
|
|
Packit Service |
1d0348 |
ARCHIVE_WARN for unusual conditions that do not prevent further opera‐
|
|
Packit Service |
1d0348 |
tions, and ARCHIVE_FATAL for serious errors that make remaining opera‐
|
|
Packit Service |
1d0348 |
tions impossible.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
ERRORS
|
|
Packit Service |
1d0348 |
Detailed error codes and textual descriptions are available from the
|
|
Packit Service |
1d0348 |
archive_errno() and archive_error_string() functions.
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
SEE ALSO
|
|
Packit Service |
1d0348 |
tar(1), libarchive(3), archive_write_set_options(3), cpio(5), mtree(5),
|
|
Packit Service |
1d0348 |
tar(5)
|
|
Packit Service |
1d0348 |
|
|
Packit Service |
1d0348 |
BSD February 2, 2012 BSD
|