Lines Matching refs:fd
24 set fd [open $filename]
25 fconfigure $fd -encoding binary
26 fconfigure $fd -translation binary
27 set data [read $fd]
28 close $fd
61 set fd [open $filename r+]
62 fconfigure $fd -encoding binary
63 fconfigure $fd -translation binary
64 seek $fd $offset
65 puts -nonewline $fd $bin
66 close $fd
116 set fd [open $filename r+]
117 fconfigure $fd -encoding binary
118 fconfigure $fd -translation binary
119 puts -nonewline $fd $bin
121 seek $fd 0
122 set blob [read $fd 24]
126 seek $fd 24
127 puts -nonewline $fd [binary format II $c1 $c2]
129 close $fd