ARCHIVE_WRITE_DATA(3) |
FreeBSD Library Functions Manual |
ARCHIVE_WRITE_DATA(3) |
NAME
archive_write_data —
functions for creating archives
LIBRARY
Streaming Archive Library (libarchive, -larchive)
SYNOPSIS
#include < archive.h>
ssize_t
archive_write_data( struct archive *, const void *, size_t);
DESCRIPTION
Write data corresponding to the header just written.
RETURN VALUES
This function returns the number of bytes actually written, or
-1
on error.
ERRORS
Detailed error codes and textual descriptions are available from the
archive_errno() and
archive_error_string() functions.