Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

archive_entry_misc (3archive)

Name

archive_entry_misc - neous functions for manipulating properties of archive_entry

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

                                                  ARCHIVE_ENTRY_MISC(3archive)



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
       operating systems that support multiple symbolic link types (e.g. Mi-
       crosoft 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


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------+
       |ATTRIBUTE TYPE |  ATTRIBUTE VALUE   |
       +---------------+--------------------+
       |Availability   | library/libarchive |
       +---------------+--------------------+
       |Stability      | Uncommitted        |
       +---------------+--------------------+

SEE ALSO
       archive_entry(3), archive_entry_paths(3), archive_entry_stat(3),
       libarchive(3)



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       https://github.com/libarchive/libarchive/releases/down-
       load/v3.6.1/libarchive-3.6.1.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.libarchive.org/.



                                April 15, 2019
                                                  ARCHIVE_ENTRY_MISC(3archive)