getLastModificationTime overloads
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);
» more...
Load into time the last modification time of the file at path.
static
int
getLastModificationTime(
bdlt::Datetime* time,
char const* path);
» more...
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);
» more...
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 |
| path | filesystem path of the file |