Query: archive_write_add_filter_xz
OS: freebsd
Section: 3
Links: freebsd man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ARCHIVE_WRITE_FILTER(3) BSD Library Functions Manual ARCHIVE_WRITE_FILTER(3)NAMEarchive_write_add_filter_bzip2, archive_write_add_filter_compress, archive_write_add_filter_gzip, archive_write_add_filter_lzip, archive_write_add_filter_lzma, archive_write_add_filter_none, archive_write_add_filter_program, archive_write_add_filter_xzLIBRARYStreaming Archive Library (libarchive, -larchive)SYNOPSIS#include <archive.h> int archive_write_add_filter_bzip2(struct archive *); int archive_write_add_filter_compress(struct archive *); int archive_write_add_filter_gzip(struct archive *); int archive_write_add_filter_lzip(struct archive *); int archive_write_add_filter_lzma(struct archive *); int archive_write_add_filter_none(struct archive *); int archive_write_add_filter_program(struct archive *, const char * cmd); int archive_write_add_filter_xz(struct archive *);DESCRIPTIONarchive_write_add_filter_bzip2(), archive_write_add_filter_compress(), archive_write_add_filter_gzip(), archive_write_add_filter_lzip(), archive_write_add_filter_lzma(), archive_write_add_filter_xz(), The resulting archive will be compressed as specified. Note that the compressed output is always properly blocked. archive_write_add_filter_none() This is never necessary. It is provided only for backwards compatibility. archive_write_add_filter_program() The archive will be fed into the specified compression program. The output of that program is blocked and written to the client write callbacks.RETURN VALUESThese functions return ARCHIVE_OK on success, or ARCHIVE_FATAL.ERRORSDetailed error codes and textual descriptions are available from the archive_errno() and archive_error_string() functions.SEE ALSOtar(1), libarchive(3), archive_write(3), archive_write_format(3), archive_write_set_options(3), cpio(5), mtree(5), tar(5)BSDFebruary 2, 2012 BSD