HomePhabricator

[SystemZ/ZOS] Implement setLastAccessAndModificationTime()

Authored by Kai on Jul 2 2020, 5:43 AM.

Description

[SystemZ/ZOS] Implement setLastAccessAndModificationTime()

The function setLastAccessAndModificationTime() uses function
futimens() or futimes() by default. Both functions are not
available in z/OS, therefore functionality is implemented using
__fchattr() on z/OS.

Reviews by: abhina.sreeskantharajan

Differential Revision: https://reviews.llvm.org/D83945

Details