Query: archive_write_data
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ARCHIVE_WRITE_DATA(3) BSD Library Functions Manual ARCHIVE_WRITE_DATA(3)NAMEarchive_write_data -- functions for creating archivesLIBRARYStreaming Archive Library (libarchive, -larchive)SYNOPSIS#include <archive.h> ssize_t archive_write_data(struct archive *, const void *, size_t);DESCRIPTIONWrite data corresponding to the header just written.RETURN VALUESThis function returns the number of bytes actually written, or -1 on error.ERRORSDetailed error codes and textual descriptions are available from the archive_errno() and archive_error_string() functions.SEE ALSOtar(1), libarchive(3), archive_write_finish_entry(3), archive_write_set_options(3), cpio(5), mtree(5), tar(5)BSDFebruary 2, 2012 BSD