35 lines
857 B
Plaintext
35 lines
857 B
Plaintext
ARCHIVE_WRITE_DATA(3) manual page
|
|
== NAME ==
|
|
'''archive_write_data'''
|
|
- functions for creating archives
|
|
== LIBRARY ==
|
|
Streaming Archive Library (libarchive, -larchive)
|
|
== SYNOPSIS ==
|
|
'''<nowiki>#include <archive.h></nowiki>'''
|
|
<br>
|
|
'''ssize_t'''
|
|
<br>
|
|
'''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
|
|
```text
|
|
-1
|
|
```
|
|
on error.
|
|
== ERRORS ==
|
|
Detailed error codes and textual descriptions are available from the
|
|
'''archive_errno'''()
|
|
and
|
|
'''archive_error_string'''()
|
|
functions.
|
|
== SEE ALSO ==
|
|
'''tar'''(1),
|
|
'''libarchive'''(3),
|
|
'''archive_write_finish_entry'''(3),
|
|
'''archive_write_set_options'''(3),
|
|
'''cpio'''(5),
|
|
'''mtree'''(5),
|
|
'''tar'''(5)
|