Load into time the last modification time of the file with descriptor.
Declared in <bdls_filesystemutil.h>
static
int
getLastModificationTime(
bdlt::Datetime* time,
FileDescriptor descriptor);
Load into the specified time the last modification time of the file with the specified descriptor, as reported by the filesystem. Return 0 on success, and a non-zero value otherwise. The time is reported in UTC.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| time | receives the last modification time in UTC |
| descriptor | file descriptor of the file |