2 '\" Copyright (c) 1993 The Regents of the University of California.
3 '\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
5 '\" See the file "license.terms" for information on usage and redistribution
6 '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 .TH tell n 8.1 Tcl "Tcl Built-In Commands"
13 '\" Note: do not modify the .SH NAME line immediately below!
15 tell \- Return current access position for an open channel
17 \fBtell \fIchannelId\fR
23 Returns an integer string giving the current access position in
24 \fIchannelId\fR. This value returned is a byte offset that can be passed to
25 \fBseek\fR in order to set the channel to a particular position. Note
26 that this value is in terms of bytes, not characters like \fBread\fR.
28 The value returned is -1 for channels that do not support
32 access position, channel, seeking