Imported Upstream version 3.3.1
[platform/upstream/libarchive.git] / doc / html / archive_write_new.3.html
1 <!-- Creator     : groff version 1.22.3 -->
2 <!-- CreationDate: Sat Feb 25 11:22:05 2017 -->
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_WRITE_NEW(3) BSD Library Functions Manual
24 ARCHIVE_WRITE_NEW(3)</p>
25
26 <p style="margin-top: 1em"><b>NAME</b></p>
27
28 <p style="margin-left:6%;"><b>archive_write_new</b> &mdash;
29 functions for creating 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 &lt;archive.h&gt;</b></p>
40
41 <p style="margin-left:6%; margin-top: 1em"><i>struct
42 archive *</i></p>
43
44
45 <p style="margin-left:12%;"><b>archive_write_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
50 struct archive object suitable for writing a tar archive.
51 NULL is returned on error.</p>
52
53 <p style="margin-left:6%; margin-top: 1em">A complete
54 description of the struct archive object can be found in the
55 overview 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), libarchive(3),
60 archive_write(3), archive_write_set_options(3), cpio(5),
61 mtree(5), tar(5)</p>
62
63 <p style="margin-left:6%; margin-top: 1em">BSD
64 February&nbsp;2, 2012 BSD</p>
65 <hr>
66 </body>
67 </html>