diff options
author | suresh <suresh@noemail.net> | 1998-05-28 15:18:17 (GMT) |
---|---|---|
committer | suresh <suresh@noemail.net> | 1998-05-28 15:18:17 (GMT) |
commit | 6fb46f07bca1a074c66c6b370c313113d5adb09f (patch) | |
tree | 9457f3e09794b7c76f669d30679b4342cdeed86d /unix/tclUnixPort.h | |
parent | 22f4592f233910eba24d51aec5a9e95506143acf (diff) | |
download | tcl-6fb46f07bca1a074c66c6b370c313113d5adb09f.zip tcl-6fb46f07bca1a074c66c6b370c313113d5adb09f.tar.gz tcl-6fb46f07bca1a074c66c6b370c313113d5adb09f.tar.bz2 |
Added macro ti simply map 'TclpStat(...)' to 'stat(...)'.
Added macro to simply map 'TclpAccess(...)' to 'access(...)'.
FossilOrigin-Name: 90c953146c93b5870cfefe454805861cd073dc30
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r-- | unix/tclUnixPort.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h index 4613704..f99910f 100644 --- a/unix/tclUnixPort.h +++ b/unix/tclUnixPort.h @@ -300,6 +300,15 @@ EXTERN int gettimeofday _ANSI_ARGS_((struct timeval *tp, #endif /* + * On UNIX, there's no platform specific implementation of "TclpStat(...)" + * or "TclpAccess(...)". Simply call "stat(...)' and "access(...)" + * respectively. + */ + +#define TclpStat stat +#define TclpAccess access + +/* * On systems without symbolic links (i.e. S_IFLNK isn't defined) * define "lstat" to use "stat" instead. */ |