Load the file's last modification time into time.
Synopsis
Declared in <bdls_filesystemutil_transitionaluniximputil.h>
static
int
getLastModificationTime(
bdlt::Datetime* time,
FileDescriptor descriptor);
Description
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. Note that the time is reported in UTC.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
time |
receives the last modification time in UTC |
descriptor |
open file descriptor to query |
Created with MrDocs