Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

archive_read_new (3archive)

Name

archive_read_new - functions for reading streaming archives

Synopsis

#include <archive.h>
struct archive *
archive_read_new(void);

Description

                                                    ARCHIVE_READ_NEW(3archive)



NAME
       archive_read_new - functions for reading streaming archives

LIBRARY
       Streaming Archive Library (libarchive, -larchive)

SYNOPSIS
       #include <archive.h>
       struct archive *
       archive_read_new(void);

DESCRIPTION
       Allocates and initializes a Tn struct archive object suitable for read-
       ing from an archive.  NULL is returned on error.

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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------+
       |ATTRIBUTE TYPE |  ATTRIBUTE VALUE   |
       +---------------+--------------------+
       |Availability   | library/libarchive |
       +---------------+--------------------+
       |Stability      | Uncommitted        |
       +---------------+--------------------+

SEE ALSO
       tar(1), archive_read_data(3), archive_read_filter(3), archive_read_for-
       mat(3), archive_read_set_options(3), archive_util(3), libarchive(3)



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://github.com/libarchive/libarchive/releases/down-
       load/v3.6.1/libarchive-3.6.1.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.libarchive.org/.



                               February 2, 2012
                                                    ARCHIVE_READ_NEW(3archive)