summaryrefslogtreecommitdiffstats
path: root/doc/tell.n
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-05-05 01:19:42 (GMT)
committerstanton <stanton@noemail.net>1999-05-05 01:19:42 (GMT)
commit5828c1897f75e313aa3bbe10f9f8c562a9f95d20 (patch)
tree35cd0c32f8026eb26a294aaedb67557a438f47b8 /doc/tell.n
parente7d7fd4138278eb7e6c6991bb5eab1c59cef0bdc (diff)
downloadtcl-5828c1897f75e313aa3bbe10f9f8c562a9f95d20.zip
tcl-5828c1897f75e313aa3bbe10f9f8c562a9f95d20.tar.gz
tcl-5828c1897f75e313aa3bbe10f9f8c562a9f95d20.tar.bz2
lint and better documentation of the character vs. byte oriented commands
FossilOrigin-Name: ee1e5d143e2553cd0091c3a89185d5b6696bbe4d
Diffstat (limited to 'doc/tell.n')
-rw-r--r--doc/tell.n12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/tell.n b/doc/tell.n
index fbbef62..15079c3 100644
--- a/doc/tell.n
+++ b/doc/tell.n
@@ -5,10 +5,10 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: tell.n,v 1.2 1998/09/14 18:39:55 stanton Exp $
+'\" RCS: @(#) $Id: tell.n,v 1.3 1999/05/05 01:19:43 stanton Exp $
'\"
.so man.macros
-.TH tell n 7.5 Tcl "Tcl Built-In Commands"
+.TH tell n 8.1 Tcl "Tcl Built-In Commands"
.BS
'\" Note: do not modify the .SH NAME line immediately below!
.SH NAME
@@ -19,8 +19,12 @@ tell \- Return current access position for an open channel
.SH DESCRIPTION
.PP
-Returns a decimal string giving the current access position in
-\fIchannelId\fR.
+.VS 8.1
+Returns an integer string giving the current access position in
+\fIchannelId\fR. This value returned is a byte offset that can be passed to
+\fBseek\fR in order to set the channel to a particular position. Note
+that this value is in terms of bytes, not characters like \fBread\fR.
+.VE 8.1
The value returned is -1 for channels that do not support
seeking.