Skip to main content

PxIOGetFileTime

Description

Sets one of the timestamps of an open file

Format

int PxIOGetFileTime(PxIOFileHandle handle, int64_t *timestamp, PxIOFileTimeType fileTimeType);

Where:

handle

The handle of an open file.

timestamp

A pointer to an int64_t variable that will receive the requested timestamp value. Timestamp values are in POSIX time format.

fileTimeType

The specific timestamp to retrieve. See Appendix F for a list of currently allowed timestamps.

Return Value

If the function succeeds, a value of PXIO_SUCCESS_STATUS is returned; otherwise, an error value is returned. More information on the nature of the error can be found by calling PxIOGetError.