summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-05-15 20:01:56 (GMT)
committerhobbs <hobbs>2001-05-15 20:01:56 (GMT)
commit0df7bf3a159282e38955f507f5e586ea8db10a77 (patch)
treefbe431cfd9900e92303d5039cc3b0da6746e1981
parent375dd5eba327d66fe3c21318c9679d6ff639fab6 (diff)
downloadtcl-0df7bf3a159282e38955f507f5e586ea8db10a77.zip
tcl-0df7bf3a159282e38955f507f5e586ea8db10a77.tar.gz
tcl-0df7bf3a159282e38955f507f5e586ea8db10a77.tar.bz2
updated to TCL_CHANNEL_VERSION_2 spec
-rw-r--r--unix/tclUnixPipe.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c
index bf5a005..b569086 100644
--- a/unix/tclUnixPipe.c
+++ b/unix/tclUnixPipe.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPipe.c,v 1.11 2001/03/29 19:45:20 hobbs Exp $
+ * RCS: @(#) $Id: tclUnixPipe.c,v 1.11.4.1 2001/05/15 20:01:56 hobbs Exp $
*/
#include "tclInt.h"
@@ -67,16 +67,20 @@ static int SetupStdFile _ANSI_ARGS_((TclFile file, int type));
*/
static Tcl_ChannelType pipeChannelType = {
- "pipe", /* Type name. */
- PipeBlockModeProc, /* Set blocking/nonblocking mode.*/
- PipeCloseProc, /* Close proc. */
- PipeInputProc, /* Input proc. */
- PipeOutputProc, /* Output proc. */
- NULL, /* Seek proc. */
- NULL, /* Set option proc. */
- NULL, /* Get option proc. */
- PipeWatchProc, /* Initialize notifier. */
- PipeGetHandleProc, /* Get OS handles out of channel. */
+ "pipe", /* Type name. */
+ TCL_CHANNEL_VERSION_2, /* v2 channel */
+ PipeCloseProc, /* Close proc. */
+ PipeInputProc, /* Input proc. */
+ PipeOutputProc, /* Output proc. */
+ NULL, /* Seek proc. */
+ NULL, /* Set option proc. */
+ NULL, /* Get option proc. */
+ PipeWatchProc, /* Initialize notifier. */
+ PipeGetHandleProc, /* Get OS handles out of channel. */
+ NULL, /* close2proc. */
+ PipeBlockModeProc, /* Set blocking or non-blocking mode.*/
+ NULL, /* flush proc. */
+ NULL, /* handler proc. */
};
/*