getLastModificationTime overloads
Synopses
Declared in <bdls_filesystemutil.h>
Load into time the last modification time of the file with descriptor.
static
int
getLastModificationTime(
bdlt::Datetime* time,
FileDescriptor descriptor);
Load into time the last modification time of the file at path.
static
int
getLastModificationTime(
bdlt::Datetime* time,
char const* path);
Load into time the last modification time of the file at path.
template<class STRING_TYPE>
static
int
getLastModificationTime(
bdlt::Datetime* time,
STRING_TYPE const& path);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
time |
receives the last modification time in UTC |
descriptor |
file descriptor of the file |
path |
filesystem path of the file |
Created with MrDocs