summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-21 09:17:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-21 09:17:17 (GMT)
commite715bc67dad8fd0fc152aff7a0f595f8d5fd1286 (patch)
tree5c660a7b6551b9e79351fc87b732cd24d6426ae3
parentf8c6b1b2f4800ee80634250446236a62e98727b3 (diff)
downloadtcl-e715bc67dad8fd0fc152aff7a0f595f8d5fd1286.zip
tcl-e715bc67dad8fd0fc152aff7a0f595f8d5fd1286.tar.gz
tcl-e715bc67dad8fd0fc152aff7a0f595f8d5fd1286.tar.bz2
Fix wrong example: Should be "-translation binary" here, not "-encoding binary"
-rw-r--r--doc/fileevent.n2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/fileevent.n b/doc/fileevent.n
index 2751040..d9b70a5 100644
--- a/doc/fileevent.n
+++ b/doc/fileevent.n
@@ -125,7 +125,7 @@ proc GetData {chan} {
}
}
-fconfigure $chan -blocking 0 -encoding binary
+fconfigure $chan -blocking 0 -translation binary
\fBfileevent\fR $chan readable [list GetData $chan]
.CE
.PP