forked from libarchive/libarchive
-
Notifications
You must be signed in to change notification settings - Fork 0
ManPageArchiveWriteData3
Andres Mejia edited this page Feb 4, 2012
·
1 revision
ARCHIVE_WRITE(3) manual page
archive_write_data - functions for creating archives
Streaming Archive Library (libarchive, -larchive)
#include <archive.h>
ssize_t
archive_write_data(struct archive *, const void *, size_t);
Write data corresponding to the header just written.
This function returns the number of bytes actually written, or ```text -1 ``` on error.
Detailed error codes and textual descriptions are available from the archive_errno() and archive_error_string() functions.
tar(1), libarchive(3), archive_write_finish_entry(3), archive_write_set_options(3), cpio(5), mtree(5), tar(5)