1 ARCHIVE_ENTRY_TIME(3) BSD Library Functions Manual ARCHIVE_ENTRY_TIME(3)
4 1marchive_entry_atime22m, 1marchive_entry_atime_nsec22m,
5 1marchive_entry_atime_is_set22m, 1marchive_entry_set_atime22m,
6 1marchive_entry_unset_atime22m, 1marchive_entry_birthtime22m,
7 1marchive_entry_birthtime_nsec22m, 1marchive_entry_birthtime_is_set22m,
8 1marchive_entry_set_birthtime22m, 1marchive_entry_unset_birthtime22m,
9 1marchive_entry_ctime22m, 1marchive_entry_ctime_nsec22m,
10 1marchive_entry_ctime_is_set22m, 1marchive_entry_set_ctime22m,
11 1marchive_entry_unset_ctime22m, 1marchive_entry_mtime22m, 1marchive_entry_mtime_nsec22m,
12 1marchive_entry_mtime_is_set22m, 1marchive_entry_set_mtime22m,
13 1marchive_entry_unset_mtime22m, — functions for manipulating times in archive
17 Streaming Archive Library (libarchive, -larchive)
20 1m#include <archive_entry.h>0m
23 1marchive_entry_atime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
26 1marchive_entry_atime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m);
29 1marchive_entry_atime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m);
32 1marchive_entry_set_atime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m,
33 4mlong24m 4mnanosec24m);
36 1marchive_entry_unset_atime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
39 1marchive_entry_birthtime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
42 1marchive_entry_birthtime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m);
45 1marchive_entry_birthtime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m);
48 1marchive_entry_set_birthtime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m,
49 4mlong24m 4mnanosec24m);
52 1marchive_entry_unset_birthtime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
55 1marchive_entry_ctime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
58 1marchive_entry_ctime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m);
61 1marchive_entry_ctime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m);
64 1marchive_entry_set_ctime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m,
65 4mlong24m 4mnanosec24m);
68 1marchive_entry_unset_ctime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
71 1marchive_entry_mtime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
74 1marchive_entry_mtime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m);
77 1marchive_entry_mtime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m);
80 1marchive_entry_set_mtime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m,
81 4mlong24m 4mnanosec24m);
84 1marchive_entry_unset_mtime22m(4mstruct24m 4marchive_entry24m 4m*a24m);
87 These functions create and manipulate the time fields in an
88 4marchive_entry24m. Supported time fields are atime (access time), birthtime
89 (creation time), ctime (last time an inode property was changed) and
90 mtime (modification time).
92 libarchive(3) provides a high-resolution interface. The timestamps are
93 truncated automatically depending on the archive format (for archiving)
94 or the filesystem capabilities (for restoring).
96 All timestamp fields are optional. The 1mXXX_unset22m() functions can be used
97 to mark the corresponding field as missing. The current state can be
98 queried using 1mXXX_is_set22m(). Unset time fields have a second and nanosec‐
102 archive_entry(3) libarchive(3),
105 The 1mlibarchive 22mlibrary first appeared in FreeBSD 5.3.
108 The 1mlibarchive 22mlibrary was written by Tim Kientzle <kientzle@acm.org>.
110 BSD February 2, 2012 BSD