Imported Upstream version 3.4.1
[platform/upstream/libarchive.git] / doc / text / archive_entry_misc.3.txt
1 ARCHIVE_ENTRY_MISC(3)    BSD Library Functions Manual    ARCHIVE_ENTRY_MISC(3)
2
3 NAME
4      archive_entry_symlink_type, archive_entry_set_symlink_type — miscella‐
5      neous functions for manipulating properties of archive_entry
6
7 LIBRARY
8      Streaming Archive Library (libarchive, -larchive)
9
10 SYNOPSIS
11      #include <archive_entry.h>
12
13      int
14      archive_entry_symlink_type(struct archive_entry *a);
15
16      void
17      archive_entry_set_symlink_type(struct archive_entry *a, int);
18
19 DESCRIPTION
20      The function archive_entry_symlink_type() returns and the function
21      archive_entry_set_symlink_type() sets the type of the symbolic link
22      stored in an archive entry.  These functions have special meaning on op‐
23      erating systems that support multiple symbolic link types (e.g. Microsoft
24      Windows).
25
26      Supported values are:
27      AE_SYMLINK_TYPE_UNDEFINED  Symbolic link target type is not defined (de‐
28                                 fault on unix systems)
29      AE_SYMLINK_TYPE_FILE       Symbolic link points to a file
30      AE_SYMLINK_TYPE_DIRECTORY  Symbolic link points to a directory
31
32 SEE ALSO
33      archive_entry(3), archive_entry_paths(3), archive_entry_stat(3),
34      libarchive(3)
35
36 BSD                             April 15, 2019                             BSD