diff options
Diffstat (limited to 'lib/libarchive/archive.h')
-rw-r--r-- | lib/libarchive/archive.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libarchive/archive.h b/lib/libarchive/archive.h index c8f5e94..4bef0c9 100644 --- a/lib/libarchive/archive.h +++ b/lib/libarchive/archive.h @@ -180,12 +180,12 @@ int archive_read_data_block(struct archive *a, * Some convenience functions that are built on archive_read_data: * 'skip': skips entire entry * 'into_buffer': writes data into memory buffer that you provide - * 'into_file': writes data to specified filedes + * 'into_fd': writes data to specified filedes */ int archive_read_data_skip(struct archive *); -ssize_t archive_read_data_into_buffer(struct archive *, void *buffer, +int archive_read_data_into_buffer(struct archive *, void *buffer, ssize_t len); -ssize_t archive_read_data_into_fd(struct archive *, int fd); +int archive_read_data_into_fd(struct archive *, int fd); /*- * Convenience function to recreate the current entry (whose header |