summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index 8d3885b..46677ce 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * SCCS: @(#) tclUnixPort.h 1.56 98/02/18 13:59:57
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.1.2.2 1998/09/24 23:59:46 stanton Exp $
*/
#ifndef _TCLUNIXPORT
@@ -280,6 +280,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.
*/
@@ -480,6 +489,12 @@ EXTERN int TclpStat _ANSI_ARGS_((CONST char *path,
struct stat *buf));
/*
+ * TclpFinalize is a noop on Unix systems.
+ */
+
+#define TclpFinalize()
+
+/*
* The following routine is only exported for testing purposes.
*/