4mARCHIVE_ENTRY_TIME24m(3) Library Functions Manual 4mARCHIVE_ENTRY_TIME24m(3) 1mNAME0m archive_entry_atime, archive_entry_atime_nsec, archive_entry_atime_is_set, archive_entry_set_atime, archive_entry_unset_atime, archive_entry_birthtime, archive_entry_birthtime_nsec, archive_entry_birthtime_is_set, archive_entry_set_birthtime, archive_entry_unset_birthtime, archive_entry_ctime, archive_entry_ctime_nsec, archive_entry_ctime_is_set, archive_entry_set_ctime, archive_entry_unset_ctime, archive_entry_mtime, archive_entry_mtime_nsec, archive_entry_mtime_is_set, archive_entry_set_mtime, archive_entry_unset_mtime — functions for ma‐ nipulating times in archive entry descriptions 1mLIBRARY0m Streaming Archive Library (libarchive, -larchive) 1mSYNOPSIS0m 1m#include 0m 4mtime_t0m 1marchive_entry_atime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mlong0m 1marchive_entry_atime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mint0m 1marchive_entry_atime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mvoid0m 1marchive_entry_set_atime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m, 4mlong24m 4mnanosec24m); 4mvoid0m 1marchive_entry_unset_atime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mtime_t0m 1marchive_entry_birthtime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mlong0m 1marchive_entry_birthtime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mint0m 1marchive_entry_birthtime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mvoid0m 1marchive_entry_set_birthtime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m, 4mlong24m 4mnanosec24m); 4mvoid0m 1marchive_entry_unset_birthtime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mtime_t0m 1marchive_entry_ctime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mlong0m 1marchive_entry_ctime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mint0m 1marchive_entry_ctime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mvoid0m 1marchive_entry_set_ctime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m, 4mlong24m 4mnanosec24m); 4mvoid0m 1marchive_entry_unset_ctime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mtime_t0m 1marchive_entry_mtime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mlong0m 1marchive_entry_mtime_nsec22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mint0m 1marchive_entry_mtime_is_set22m(4mstruct24m 4marchive_entry24m 4m*a24m); 4mvoid0m 1marchive_entry_set_mtime22m(4mstruct24m 4marchive_entry24m 4m*a24m, 4mtime_t24m 4msec24m, 4mlong24m 4mnanosec24m); 4mvoid0m 1marchive_entry_unset_mtime22m(4mstruct24m 4marchive_entry24m 4m*a24m); 1mDESCRIPTION0m These functions create and manipulate the time fields in an 4marchive_entry24m. Supported time fields are atime (access time), birth‐ time (creation time), ctime (last time an inode property was changed) and mtime (modification time). 4mlibarchive24m(3) provides a high-resolution interface. The timestamps are truncated automatically depending on the archive format (for archiving) or the filesystem capabilities (for restoring). All timestamp fields are optional. The 1mXXX_unset22m() functions can be used to mark the corresponding field as missing. The current state can be queried using 1mXXX_is_set22m(). Unset time fields have a second and nanosecond field of 0. 1mSEE ALSO0m 4marchive_entry24m(3), 4mlibarchive24m(3) 1mHISTORY0m The 1mlibarchive 22mlibrary first appeared in FreeBSD 5.3. 1mAUTHORS0m The 1mlibarchive 22mlibrary was written by Tim Kientzle . Debian February 2, 2012 4mARCHIVE_ENTRY_TIME24m(3)