1ARCHIVE_WRITE_DATA(3)    BSD Library Functions Manual    ARCHIVE_WRITE_DATA(3)
2

NAME

4     archive_write_data — functions for creating archives
5

LIBRARY

7     Streaming Archive Library (libarchive, -larchive)
8

SYNOPSIS

10     #include <archive.h>
11
12     ssize_t
13     archive_write_data(struct archive *, const void *, size_t);
14

DESCRIPTION

16     Write data corresponding to the header just written.
17

RETURN VALUES

19     This function returns the number of bytes actually written, or -1 on
20     error.
21

ERRORS

23     Detailed error codes and textual descriptions are available from the
24     archive_errno() and archive_error_string() functions.
25

SEE ALSO

27     tar(1), libarchive(3), archive_write_finish_entry(3),
28     archive_write_set_options(3), cpio(5), mtree(5), tar(5)
29
30BSD                            February 2, 2012                            BSD
Impressum