|
NAMEarchive_write_data ,
archive_write_data_block —
functions for creating archives
LIBRARYStreaming Archive Library (libarchive, -larchive)SYNOPSIS#include <archive.h>
la_ssize_t
la_ssize_t
DESCRIPTION
RETURN VALUESThis function returns the number of bytes actually written, or a negative error code on error.ERRORSDetailed error codes and textual descriptions are available from thearchive_errno () and
archive_error_string () functions.
BUGSIn libarchive 3.x, this function sometimes returns zero on success instead of returning the number of bytes written. Specifically, this occurs when writing to an archive_write_disk handle. Clients should treat any value less than zero as an error and consider any non-negative value as success.SEE ALSOtar(1), archive_write_finish_entry(3), archive_write_set_options(3), libarchive(3), cpio(5), mtree(5), tar(5)
Visit the GSP FreeBSD Man Page Interface. |