archive_entry_misc(3)

archive_entry_misc3

Miscellaneous functions for manipulating properties of archive_entry

Usage

#include <archive_entry.h>

int

archive_entry_symlink_type(struct archive_entry *a);

void

archive_entry_set_symlink_type(struct archive_entry *a, int);

Library

Streaming Archive Library (libarchive, -larchive)

Overview

The function archive_entry_symlink_type() returns and the function archive_entry_set_symlink_type() sets the type of the symbolic link stored in an archive entry. These functions have special meaning on operating systems that support multiple symbolic link types (e.g. Microsoft Windows).

Supported values are:

AE_SYMLINK_TYPE_UNDEFINED

Symbolic link target type is not defined (default on unix systems)

AE_SYMLINK_TYPE_FILE

Symbolic link points to a file

AE_SYMLINK_TYPE_DIRECTORY

Symbolic link points to a directory

Releases

21 releases since FreeBSD 11.3-RELEASE; the text changed 3 times.

  1. 11.3
  2. 11.4
  3. 12.1
  4. 12.2–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.