summaryrefslogtreecommitdiffstats
path: root/mac/tclMacChan.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 /mac/tclMacChan.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 'mac/tclMacChan.c')
-rw-r--r--mac/tclMacChan.c31
1 files changed, 30 insertions, 1 deletions
diff --git a/mac/tclMacChan.c b/mac/tclMacChan.c
index 781ee64..38be0a4 100644
--- a/mac/tclMacChan.c
+++ b/mac/tclMacChan.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacChan.c,v 1.3 1998/09/14 18:40:04 stanton Exp $
+ * RCS: @(#) $Id: tclMacChan.c,v 1.4 1999/03/10 05:52:51 stanton Exp $
*/
#include "tclInt.h"
@@ -921,6 +921,35 @@ OpenFileChannel(
/*
*----------------------------------------------------------------------
*
+ * Tcl_MakeFileChannel --
+ *
+ * Makes a Tcl_Channel from an existing OS level file handle.
+ *
+ * Results:
+ * The Tcl_Channel created around the preexisting OS level file handle.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------
+ */
+
+Tcl_Channel
+Tcl_MakeFileChannel(handle, mode)
+ ClientData handle; /* OS level handle. */
+ int mode; /* ORed combination of TCL_READABLE and
+ * TCL_WRITABLE to indicate file mode. */
+{
+ /*
+ * Not implemented yet.
+ */
+
+ return NULL;
+}
+
+/*
+ *----------------------------------------------------------------------
+ *
* FileBlockMode --
*
* Set blocking or non-blocking mode on channel. Macintosh files