Name
seek
- seek
channelId offset
[origin
] Set position for random access to I/O channel
channelId
. Specify starting byte position using integer valueoffset
relative toorigin
, which must be one of the following:start
Offset bytes from start of the file (default).
current
Offset bytes from the current position (positive or negative).
end
Offset bytes relative to the end of file (positive or negative).
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.