Imported Upstream version 3.3.0
[platform/upstream/libarchive.git] / doc / text / archive_write_new.3.txt
1 ARCHIVE_WRITE_NEW(3)     BSD Library Functions Manual     ARCHIVE_WRITE_NEW(3)
2
3 NAME
4      archive_write_new — functions for creating archives
5
6 LIBRARY
7      Streaming Archive Library (libarchive, -larchive)
8
9 SYNOPSIS
10      #include <archive.h>
11
12      struct archive *
13      archive_write_new(void);
14
15 DESCRIPTION
16      Allocates and initializes a struct archive object suitable for writing a
17      tar archive.  NULL is returned on error.
18
19      A complete description of the struct archive object can be found in the
20      overview manual page for libarchive(3).
21
22 SEE ALSO
23      tar(1), libarchive(3), archive_write(3), archive_write_set_options(3),
24      cpio(5), mtree(5), tar(5)
25
26 BSD                            February 2, 2012                            BSD