summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2008-02-28 20:12:09 (GMT)
committerjenglish <jenglish@flightlab.com>2008-02-28 20:12:09 (GMT)
commit6e9187684c687eab654ee37f1d4a9aa9caff97a2 (patch)
treeaa41a586696a80054db4e5e47d019b5e80c80923 /unix/tclUnixPort.h
parent2b7f76a785b725b2cf77ee239b28c5529e92093f (diff)
downloadtcl-6e9187684c687eab654ee37f1d4a9aa9caff97a2.zip
tcl-6e9187684c687eab654ee37f1d4a9aa9caff97a2.tar.gz
tcl-6e9187684c687eab654ee37f1d4a9aa9caff97a2.tar.bz2
Consolidate all code conditionalized on -DUSE_FIONBIO into one place.
New routine TclUnixSetBlockingMode().
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index dc0fb40..a7313ca 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.
*
- * RCS: @(#) $Id: tclUnixPort.h,v 1.62 2008/02/27 03:35:50 jenglish Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.63 2008/02/28 20:12:10 jenglish Exp $
*/
#ifndef _TCLUNIXPORT
@@ -122,6 +122,9 @@ typedef off_t Tcl_SeekOffset;
# include <sys/ioctl.h> /* For FIONBIO. */
# endif
#endif /* USE_FIONBIO */
+
+MODULE_SCOPE int TclUnixSetBlockingMode(int fd, int mode);
+
#include <utime.h>
/*