DOKK / manpages / debian 12 / libarchive-dev / archive_read_new.3.en
ARCHIVE_READ_NEW(3) Library Functions Manual ARCHIVE_READ_NEW(3)

archive_read_newfunctions for reading streaming archives

Streaming Archive Library (libarchive, -larchive)

#include <archive.h>

struct archive *
archive_read_new(void);

Allocates and initializes a struct archive object suitable for reading from an archive. NULL is returned on error.

A complete description of the struct archive object can be found in the overview manual page for libarchive(3).

tar(1), archive_read_data(3), archive_read_filter(3), archive_read_format(3), archive_read_set_options(3), archive_util(3), libarchive(3), tar(5)

February 2, 2012 Debian