archive_write_new(3)

archive_write_new3

Functions for creating archives

Usage

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

Library

Streaming Archive Library (libarchive, -larchive)

Overview

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

Releases

Unchanged in 32 releases since macOS 12.0.1.

  1. 12.0.1–26.5

From libarchive 167.120.3 in macOS 26.5. Parsed by carta from the page's man source.