diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-16 17:56:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-16 17:56:23 (GMT) |
commit | 3c0ca659784b51136017dd079a4716fdf2355524 (patch) | |
tree | 82599bcdb2279e53da9d4de2ef91c96fc1b411ee /doc | |
parent | 7593fce2300c45d321ff47f31909d0fafe03bf68 (diff) | |
download | tcl-3c0ca659784b51136017dd079a4716fdf2355524.zip tcl-3c0ca659784b51136017dd079a4716fdf2355524.tar.gz tcl-3c0ca659784b51136017dd079a4716fdf2355524.tar.bz2 |
Minor change to -eofchar handling
Diffstat (limited to 'doc')
-rw-r--r-- | doc/chan.n | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -142,17 +142,16 @@ which returns the platform- and locale-dependent system encoding used to interface with the operating system, .RE .TP -\fB\-eofchar\fR \fIchar\fR +\fB\-eofchar\fR \fIinChar\fR .TP \fB\-eofchar\fR \fB{\fIinChar outChar\fB}\fR . -\fIchar\fR signals the end of the data when it is encountered in the input. -For output, the character is added when the channel is closed. If \fIchar\fR +\fIinChar\fR signals the end of the data when it is encountered in the input. +For output, the character is added when the channel is closed. If \fIinChar\fR is the empty string, there is no special character that marks the end of the data. For read-write channels, one end-of-file character for input and another for output may be given. When only one end-of-file character is given it is -applied to both input and output. For a read-write channel two values are -returned even if they are are identical. +applied to input only. The default value is the empty string, except that under Windows the default value for reading is Control-z (\ex1A). The acceptable range is \ex01 - |