First page Back Continue Last page Overview Image

8.5 Channels & Files – Binary

[183] Quick setup of binary channels (open … b)

Convenience. Instead of

set fd [open $fname "w"]

fconfigure $fd -translation binary

Simply do

set fd [open $fname "wb"]

Binary safe << redirection for exec

Bugfix. Counted copy instead of looking for “\0”.