summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/doc/text/archive_entry_misc.3.txt
blob: d6d888ad67406e402c58920c5ed0e9bde0b597ad (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
27
28
29
30
31
32
33
34
35
36
ARCHIVE_ENTRY_MISC(3)	 BSD Library Functions Manual	 ARCHIVE_ENTRY_MISC(3)

NAME
     archive_entry_symlink_type, archive_entry_set_symlink_type — miscella‐
     neous 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 oper‐
     ating 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 (de‐
				fault 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_paths(3), archive_entry_stat(3),
     libarchive(3)

BSD				April 15, 2019				   BSD