| ARCHIVE_WRITE_DATA(3) | Library Functions Manual | ARCHIVE_WRITE_DATA(3) | 
archive_write_data,
  archive_write_data_block —
#include <archive.h>
la_ssize_t
  
  archive_write_data(struct
    archive *, const void
    *, size_t);
la_ssize_t
  
  archive_write_data_block(struct
    archive *, const void
    *, size_t size,
    int64_t offset);
archive_write_data()archive_write_data_block()archive_write_data() except that it performs a
      seek on the file being written to the specified offset before writing the
      data. This is useful when restoring sparse files from archive formats that
      support sparse files. Returns number of bytes written or -1 on error.
      (Note: This is currently not supported for archive_write handles, only for
      archive_write_disk handles.archive_errno() and
  archive_error_string() functions.
| February 28, 2017 | NetBSD 10.0 |