Skip to content
Snippets Groups Projects
Commit 4b39a0af authored by rswindell's avatar rswindell
Browse files

Created filetime() function to return modification time of open file descriptor

(used to be handled by DOS-specific getftime function).
Changed return type of fdate from long to time_t.
parent 1058f616
Branches
Tags
No related merge requests found
......@@ -285,10 +285,11 @@ extern "C" {
/* General file system wrappers for all platforms and compilers */
DLLEXPORT long DLLCALL fdate(char *filename);
DLLEXPORT BOOL DLLCALL isdir(char *filename);
DLLEXPORT int DLLCALL getfattr(char* filename);
DLLEXPORT ulong DLLCALL getfreediskspace(char* path);
DLLEXPORT time_t DLLCALL fdate(char *filename);
DLLEXPORT time_t DLLCALL filetime(int fd);
DLLEXPORT BOOL DLLCALL isdir(char *filename);
DLLEXPORT int DLLCALL getfattr(char* filename);
DLLEXPORT ulong DLLCALL getfreediskspace(char* path);
#ifdef __cplusplus
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment