summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>1999-11-24 20:54:54 (GMT)
committerhobbs <hobbs@noemail.net>1999-11-24 20:54:54 (GMT)
commitb4f7f898d7c56f405d9748715e0dc1e4c5968255 (patch)
tree0a756592d133543b9977d071a49d90c5b53d1ccb /doc
parent1879730690d0cffa1c0138bf6b6a437dee21085a (diff)
downloadtcl-b4f7f898d7c56f405d9748715e0dc1e4c5968255.zip
tcl-b4f7f898d7c56f405d9748715e0dc1e4c5968255.tar.gz
tcl-b4f7f898d7c56f405d9748715e0dc1e4c5968255.tar.bz2
* doc/open.n:
* win/tclWinSerial.c: adopted patch from Schroedter to handle fconfigure $sock -lasterror on Windows. [RFE: 3368] FossilOrigin-Name: af299ce78e9de7267e5d4e12a3a0942400f5be76
Diffstat (limited to 'doc')
-rw-r--r--doc/open.n11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/open.n b/doc/open.n
index cc60da6..ad37c29 100644
--- a/doc/open.n
+++ b/doc/open.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: open.n,v 1.6 1999/11/10 02:51:42 hobbs Exp $
+'\" RCS: @(#) $Id: open.n,v 1.7 1999/11/24 20:54:54 hobbs Exp $
'\"
.so man.macros
.TH open n 7.6 Tcl "Tcl Built-In Commands"
@@ -153,6 +153,15 @@ set the maximum time between polling for fileevents. This affects the
time interval between checking for events throughout the Tcl
interpreter (the smallest value always wins). Use this option only if
you want to poll the serial port more often than 10 msec (the default).
+.TP
+\fB\-lasterror
+.
+This option is available only on Windows for serial ports, and is
+query only (will only be reported when directly requested).
+In case of a serial communication error, \fBread\fR or \fBputs\fR
+returns a general Tcl file I/O error.
+\fBfconfigure -lasterror\fR can be called to get a list
+of error details (e.g. FRAME RXOVER).
.VE
.VS