diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/chan.n | 7 | ||||
-rw-r--r-- | doc/fconfigure.n | 2 |
2 files changed, 4 insertions, 5 deletions
@@ -144,15 +144,14 @@ interface with the operating system, .TP \fB\-eofchar\fR \fIchar\fR .TP -\fB\-eofchar\fR \fB{\fIinChar outChar\fB}\fR +\fB\-eofchar\fR \fB{\fIchar 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 +For output, \fIoutChar\fR is added when the channel is closed. If \fIchar\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 - diff --git a/doc/fconfigure.n b/doc/fconfigure.n index 2926777..4bb9fc6 100644 --- a/doc/fconfigure.n +++ b/doc/fconfigure.n @@ -103,7 +103,7 @@ system, as returned by \fBencoding system\fR. .TP \fB\-eofchar\fR \fIchar\fR .TP -\fB\-eofchar\fR \fB{\fIinChar outChar\fB}\fR +\fB\-eofchar\fR \fB{\fIchar outChar\fB}\fR . This option supports DOS file systems that use Control-z (\ex1A) as an end of file marker. If \fIchar\fR is not an empty string, then this |