From 4b39a0af742f87cf61c1698d0fbd35814aaae372 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 15 Feb 2002 13:19:55 +0000 Subject: [PATCH] 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. --- src/sbbs3/sbbswrap.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sbbs3/sbbswrap.h b/src/sbbs3/sbbswrap.h index b7539c411a..bd101163b5 100644 --- a/src/sbbs3/sbbswrap.h +++ b/src/sbbs3/sbbswrap.h @@ -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 } -- GitLab