Blame doc/text/archive_write_finish_entry.3.txt

Packit Service 1d0348
ARCHIVE_WRITE_FINISH_... BSD Library Functions Manual ARCHIVE_WRITE_FINISH_...
Packit Service 1d0348
Packit Service 1d0348
NAME
Packit Service 1d0348
     archive_write_finish_entry — 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_finish_entry(struct archive *);
Packit Service 1d0348
Packit Service 1d0348
DESCRIPTION
Packit Service 1d0348
     Close out the entry just written.	In particular, this writes out the
Packit Service 1d0348
     final padding required by some formats.  Ordinarily, clients never need
Packit Service 1d0348
     to call this, as it is called automatically by archive_write_header() and
Packit Service 1d0348
     archive_write_close() as needed.  For archive_write_disk handles, this
Packit Service 1d0348
     flushes pending file attribute changes like modification time.
Packit Service 1d0348
Packit Service 1d0348
RETURN VALUES
Packit Service 1d0348
     This function returns ARCHIVE_OK on success, or one of several non-zero
Packit Service 1d0348
     error codes for errors.  Specific error codes include: ARCHIVE_RETRY for
Packit Service 1d0348
     operations that might succeed if retried, ARCHIVE_WARN for unusual condi‐
Packit Service 1d0348
     tions that do not prevent further operations, and ARCHIVE_FATAL for seri‐
Packit Service 1d0348
     ous errors that make remaining operations 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_data(3),
Packit Service 1d0348
     archive_write_set_options(3), cpio(5), mtree(5), tar(5)
Packit Service 1d0348
Packit Service 1d0348
BSD			       February 28, 2017			   BSD