1<!-- Creator : groff version 1.22.4 --> 2<!-- CreationDate: Sun Aug 22 23:03:26 2021 --> 3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4"http://www.w3.org/TR/html4/loose.dtd"> 5<html> 6<head> 7<meta name="generator" content="groff -Thtml, see www.gnu.org"> 8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> 9<meta name="Content-Style" content="text/css"> 10<style type="text/css"> 11 p { margin-top: 0; margin-bottom: 0; vertical-align: top } 12 pre { margin-top: 0; margin-bottom: 0; vertical-align: top } 13 table { margin-top: 0; margin-bottom: 0; vertical-align: top } 14 h1 { text-align: center } 15</style> 16<title></title> 17</head> 18<body> 19 20<hr> 21 22 23<p>ARCHIVE_READ_NEW(3) BSD Library Functions Manual 24ARCHIVE_READ_NEW(3)</p> 25 26<p style="margin-top: 1em"><b>NAME</b></p> 27 28<p style="margin-left:6%;"><b>archive_read_new</b> — 29functions for reading streaming archives</p> 30 31<p style="margin-top: 1em"><b>LIBRARY</b></p> 32 33<p style="margin-left:6%;">Streaming Archive Library 34(libarchive, -larchive)</p> 35 36<p style="margin-top: 1em"><b>SYNOPSIS</b></p> 37 38<p style="margin-left:6%;"><b>#include 39<archive.h></b></p> 40 41<p style="margin-left:6%; margin-top: 1em"><i>struct 42archive *</i></p> 43 44 45<p style="margin-left:12%;"><b>archive_read_new</b>(<i>void</i>);</p> 46 47<p style="margin-top: 1em"><b>DESCRIPTION</b></p> 48 49<p style="margin-left:6%;">Allocates and initializes a 50struct archive object suitable for reading from an archive. 51NULL is returned on error.</p> 52 53<p style="margin-left:6%; margin-top: 1em">A complete 54description of the struct archive object can be found in the 55overview manual page for libarchive(3).</p> 56 57<p style="margin-top: 1em"><b>SEE ALSO</b></p> 58 59<p style="margin-left:6%;">tar(1), archive_read_data(3), 60archive_read_filter(3), archive_read_format(3), 61archive_read_set_options(3), archive_util(3), libarchive(3), 62tar(5)</p> 63 64<p style="margin-left:6%; margin-top: 1em">BSD 65February 2, 2012 BSD</p> 66<hr> 67</body> 68</html> 69