physfs.h
changeset 240 052041af9001
parent 237 2abc99254366
child 265 6187d310b2c0
equal deleted inserted replaced
239:f5a5cbef2ee8 240:052041af9001
   782  */
   782  */
   783 __EXPORT__ int PHYSFS_close(PHYSFS_file *handle);
   783 __EXPORT__ int PHYSFS_close(PHYSFS_file *handle);
   784 
   784 
   785 
   785 
   786 /**
   786 /**
       
   787  * Get the last modification time of a file. This is returned as a
       
   788  *  number of seconds since the epoch (Jan 1, 1970). The exact derivation
       
   789  *  and accuracy of this time depends on the particular archiver. If there
       
   790  *  is no reasonable way to obtain this information for a particular archiver,
       
   791  *  or there was some sort of error, this function returns (-1).
       
   792  *
       
   793  *   @param filename filename to check.
       
   794  *  @return last modified time of the file. -1 if it can't be determined.
       
   795  */
       
   796 __EXPORT__ PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename);
       
   797 
       
   798 
       
   799 /**
   787  * Read data from a PhysicsFS filehandle. The file must be opened for reading.
   800  * Read data from a PhysicsFS filehandle. The file must be opened for reading.
   788  *
   801  *
   789  *   @param handle handle returned from PHYSFS_openRead().
   802  *   @param handle handle returned from PHYSFS_openRead().
   790  *   @param buffer buffer to store read data into.
   803  *   @param buffer buffer to store read data into.
   791  *   @param objSize size in bytes of objects being read from (handle).
   804  *   @param objSize size in bytes of objects being read from (handle).