summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/doc/text/archive_write_new.3.txt
blob: 04cfd976173646d2f1c9f3642813d85fe67f8c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ARCHIVE_WRITE_NEW(3)	 BSD Library Functions Manual	  ARCHIVE_WRITE_NEW(3)

NAME
     archive_write_new — functions for creating archives

LIBRARY
     Streaming Archive Library (libarchive, -larchive)

SYNOPSIS
     #include <archive.h>

     struct archive *
     archive_write_new(void);

DESCRIPTION
     Allocates and initializes a struct archive object suitable for writing a
     tar 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).

SEE ALSO
     tar(1), libarchive(3), archive_write(3), archive_write_set_options(3),
     cpio(5), mtree(5), tar(5)

BSD			       February 2, 2012 			   BSD