storage_common_timestamp

Function storage_common_timestamp 

Source
pub unsafe extern "C" fn storage_common_timestamp(
    storage: *mut Storage,
    path: *const c_char,
    timestamp: *mut u32,
) -> FS_Error
Expand description

Get the last access time in UNIX format.

§Arguments

  • storage - pointer to a storage API instance.
  • path - pointer to a zero-terminated string containing the path of the item in question.
  • timestamp - pointer to a value to contain the timestamp.

§Returns

FSE_OK if the timestamp has been successfully received, any other error code on failure.