diff options
Diffstat (limited to 'archivers/libarchive/files/doc/text/archive_entry_stat.3.txt')
-rw-r--r-- | archivers/libarchive/files/doc/text/archive_entry_stat.3.txt | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/archivers/libarchive/files/doc/text/archive_entry_stat.3.txt b/archivers/libarchive/files/doc/text/archive_entry_stat.3.txt index 32270ed43a7..21e180e50d1 100644 --- a/archivers/libarchive/files/doc/text/archive_entry_stat.3.txt +++ b/archivers/libarchive/files/doc/text/archive_entry_stat.3.txt @@ -113,14 +113,13 @@ SYNOPSIS DESCRIPTION Copying to and from struct stat The function archive_entry_stat() converts the various fields stored in - the archive entry to the format used by stat(2). The return value - remains valid until either archive_entry_clear() or archive_entry_free() - is called. It is not affected by calls to the set accessor functions. - It currently sets the following values in struct stat: st_atime, - st_ctime, st_dev, st_gid, st_ino, st_mode, st_mtime, st_nlink, st_rdev, - st_size, st_uid. In addition, st_birthtime and high-precision informa‐ - tion for time-related fields will be included on platforms that support - it. + the archive entry to the format used by stat(2). The return value re‐ + mains valid until either archive_entry_clear() or archive_entry_free() is + called. It is not affected by calls to the set accessor functions. It + currently sets the following values in struct stat: st_atime, st_ctime, + st_dev, st_gid, st_ino, st_mode, st_mtime, st_nlink, st_rdev, st_size, + st_uid. In addition, st_birthtime and high-precision information for + time-related fields will be included on platforms that support it. The function archive_entry_copy_stat() copies fields from the platform's struct stat. Fields not provided by struct stat are unchanged. @@ -167,8 +166,8 @@ DESCRIPTION The inode number can be obtained using archive_entry_ino(). This is a legacy interface that uses the platform ino_t, which may be very small. - To set the inode number, archive_entry_set_ino64() is the preferred - interface. + To set the inode number, archive_entry_set_ino64() is the preferred in‐ + terface. Accessor functions for block and character devices Block and character devices are characterised either using a device num‐ |