summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixSock.c
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-03-10 05:52:44 (GMT)
committerstanton <stanton@noemail.net>1999-03-10 05:52:44 (GMT)
commit3590769e600141e2a2a0e8413790130248ed65ee (patch)
tree92131df26a09a5f7b28f854fb7c0a62ba26cb8ac /unix/tclUnixSock.c
parent6aec87e7efaa5196e38566cf45beecc6c2496510 (diff)
downloadtcl-3590769e600141e2a2a0e8413790130248ed65ee.zip
tcl-3590769e600141e2a2a0e8413790130248ed65ee.tar.gz
tcl-3590769e600141e2a2a0e8413790130248ed65ee.tar.bz2
Merged stubs changes into mainline for 8.0
FossilOrigin-Name: 19696933517612024e7dbcfee6e3c8d3b4e41772
Diffstat (limited to 'unix/tclUnixSock.c')
-rw-r--r--unix/tclUnixSock.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 7a479b2..2013e8f 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixSock.c,v 1.2 1998/09/14 18:40:17 stanton Exp $
+ * RCS: @(#) $Id: tclUnixSock.c,v 1.3 1999/03/10 05:52:52 stanton Exp $
*/
#include "tcl.h"
@@ -98,3 +98,26 @@ Tcl_GetHostName()
hostname[0] = 0;
return hostname;
}
+
+/*
+ *----------------------------------------------------------------------
+ *
+ * TclHasSockets --
+ *
+ * Detect if sockets are available on this platform.
+ *
+ * Results:
+ * Returns TCL_OK.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------
+ */
+
+int
+TclHasSockets(interp)
+ Tcl_Interp *interp; /* Not used. */
+{
+ return TCL_OK;
+}