ARCHIVE_ENTRY_MISC(3)
β¨ ARCHIVE_ENTRY_MISC β¨
okay bestie, so this is part of the Library Functions Manual, and it's literally about libarchive β you know, the streaming archive library? we're in archive_entry_symlink_type territory and it's giving niche-but-iconic π
π NAME π
archive_entry_symlink_type, archive_entry_set_symlink_type β miscellaneous functions for manipulating properties of archive_entry
like... the lil grab-bag of symlink-type functions. no cap.
π LIBRARY π
Streaming Archive Library (libarchive, -larchive)
so when you link, you're doing -larchive. don't forget it or the linker will be like "who?" π
π«Ά 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 πΈ
so here's the tea β:
archive_entry_symlink_type() returns the type of the symbolic link stored in an archive entry, and archive_entry_set_symlink_type() sets it. getter, setter, the classic duo. main character energy fr fr.
these functions have special meaning on operating systems that support multiple symbolic link types β for example, Microsoft Windows. on unix they're just kinda vibing, iykyk.
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 fileAE_SYMLINK_TYPE_DIRECTORYβ Symbolic link points to a directory
that's the whole list. three (3) options. that's it. slay. π
π SEE ALSO π
go read archive_entry(3) first if you're lost, bestie β it's the parent page and it'll hold your hand π«Ά
Debian Β· April 15, 2019 β that's the source, the version, and the date of this lil page. mwah. π bye bestie, go archive something ππ¦β¨
π¦ where this page comes from
- alpine 3.22: libarchive-doc 3.8.10-r0 Β· BSD-2-Clause AND BSD-3-Clause AND Public-Domain
- alpine 3.22: libarchive-doc 3.8.11-r0 Β· BSD-2-Clause AND BSD-3-Clause AND Public-Domain
- alpine 3.23: libarchive-doc 3.8.10-r0 Β· BSD-2-Clause AND BSD-3-Clause AND Public-Domain
- alpine 3.23: libarchive-doc 3.8.11-r0 Β· BSD-2-Clause AND BSD-3-Clause AND Public-Domain
- alpine 3.24: libarchive-doc 3.8.10-r0 Β· BSD-2-Clause AND BSD-3-Clause AND Public-Domain
- alpine 3.24: libarchive-doc 3.8.11-r0 Β· BSD-2-Clause AND BSD-3-Clause AND Public-Domain
- arch rolling: libarchive 3.8.10-1
- arch rolling: libarchive 3.8.11-1 Β· BSD-2-Clause AND BSD-4-Clause-UC AND Apache-2.0 OR CC0-1.0 OR OpenSSL
- arch rolling: libarchive 3.8.9-1
- centos-stream 10: libarchive-devel 3.7.7-11.el10 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- centos-stream 9: libarchive-devel 3.5.3-11.el9 Β· BSD
- centos-stream 9: libarchive-devel 3.5.3-11.el9 Β· BSD
- debian bookworm: libarchive-dev 3.6.2-1+deb12u4 Β· BSD-2-Clause
- debian bookworm: libarchive-dev 3.6.2-1+deb12u5 Β· BSD-2-Clause
- debian trixie: libarchive-dev 3.7.4-4+deb13u1 Β· BSD-2-Clause
- fedora 43: libarchive-devel 3.8.1-3.fc43 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 43: libarchive-devel 3.8.1-3.fc43 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 43: libarchive-devel 3.8.4-1.fc43 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 43: libarchive-devel 3.8.4-1.fc43 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 44: libarchive-devel 3.8.4-2.fc44 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 44: libarchive-devel 3.8.4-2.fc44 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 44: libarchive-devel 3.8.7-1.fc44 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- fedora 44: libarchive-devel 3.8.7-1.fc44 Β· BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixos 26.05: libarchive 3.8.9
- nixpkgs unstable: libarchive 3.8.9
- opensuse-leap 16.0: libarchive-devel 3.8.1-160000.4.1 Β· BSD-2-Clause
- opensuse-leap 16.0: libarchive-devel 3.8.1-160000.4.1 Β· BSD-2-Clause
- opensuse-leap 16.0: libarchive-devel 3.8.1-160000.4.1 Β· BSD-2-Clause
- opensuse-leap 16.0: libarchive-devel 3.8.1-160000.4.1 Β· BSD-2-Clause
- ubuntu jammy: libarchive-dev 3.6.0-1ubuntu1 Β· BSD-2-Clause
- ubuntu jammy: libarchive-dev 3.6.0-1ubuntu1.9 Β· BSD-2-Clause
- ubuntu noble: libarchive-dev 3.7.2-2 Β· BSD-2-Clause
- ubuntu noble: libarchive-dev 3.7.2-2ubuntu0.9 Β· BSD-2-Clause
- ubuntu questing: libarchive-dev 3.7.7-0ubuntu3
- ubuntu questing: libarchive-dev 3.7.7-0ubuntu3.2
- ubuntu resolute: libarchive-dev 3.8.5-1ubuntu2 Β· BSD-2-Clause
- ubuntu resolute: libarchive-dev 3.8.5-1ubuntu2.3 Β· BSD-2-Clause
- ubuntu stonking: libarchive-dev 3.8.9-1 Β· BSD-2-Clause
- Copyright (c) 2019 Martin Matuska
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms