summaryrefslogtreecommitdiffstats
path: root/doc/fcopy.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-27 08:17:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-01-27 08:17:34 (GMT)
commit8ea5f2cfcee413e2281a0434827d999f43743f6c (patch)
tree6904b02480b555defcd831f3a668899478d8d14c /doc/fcopy.n
parentd271c9f407a60528785465284451c752639b1128 (diff)
downloadtcl-8ea5f2cfcee413e2281a0434827d999f43743f6c.zip
tcl-8ea5f2cfcee413e2281a0434827d999f43743f6c.tar.gz
tcl-8ea5f2cfcee413e2281a0434827d999f43743f6c.tar.bz2
Update fcopy documentation regarding -size argument
Diffstat (limited to 'doc/fcopy.n')
-rw-r--r--doc/fcopy.n5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/fcopy.n b/doc/fcopy.n
index d39c803..57f9968 100644
--- a/doc/fcopy.n
+++ b/doc/fcopy.n
@@ -26,8 +26,9 @@ network sockets.
The \fBfcopy\fR
command transfers data from \fIinchan\fR until end of file
or \fIsize\fR bytes or characters have been
-transferred; \fIsize\fR is in bytes if the two channels are using the
-same encoding, and is in characters otherwise.
+transferred; \fIsize\fR is in bytes if the input channel is in binary mode,
+or if the two channels are using the same encoding and -strict is not specified.
+Otherwise, size is in characters.
If no \fB\-size\fR argument is given,
then the copy goes until end of file.
All the data read from \fIinchan\fR is copied to \fIoutchan\fR.