---
name: "archive_entry_misc"
section: "3"
platform: "linux"
package: "libarchive"
version: "3.8.11-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd", "macos"]
url: "https://new.carta.tech/archive_entry_misc"
---

# archive\_entry\_misc(3)

miscellaneous functions for manipulating properties of archive\_entry

## NAME

**archive\_entry\_symlink\_type**, **archive\_entry\_set\_symlink\_type** – miscellaneous functions for manipulating properties of archive\_entry

## LIBRARY

Streaming Archive Library (libarchive, -larchive)

## SYNOPSIS

**#include \<archive\_entry.h\>**

*int*\

**archive\_entry\_symlink\_type**(*struct archive\_entry \*a*);

*void*\

**archive\_entry\_set\_symlink\_type**(*struct archive\_entry \*a*, *int*);

## DESCRIPTION

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

## SEE ALSO

[archive\_entry(3)](/archive_entry/3.md), [archive\_entry\_paths(3)](/archive_entry_paths/3.md), [archive\_entry\_stat(3)](/archive_entry_stat/3.md), [libarchive(3)](/libarchive/3.md)
