📄 tell.n
字号:
'\"'\" Copyright (c) 1993 The Regents of the University of California.'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.'\"'\" 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.5 2001/09/14 19:20:40 andreas_kupries Exp $'\" .so man.macros.TH tell n 8.1 Tcl "Tcl Built-In Commands".BS'\" Note: do not modify the .SH NAME line immediately below!.SH NAMEtell \- Return current access position for an open channel.SH SYNOPSIS\fBtell \fIchannelId\fR.BE.SH DESCRIPTION.PP.VS 8.1Returns 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. Notethat this value is in terms of bytes, not characters like \fBread\fR..VE 8.1The value returned is -1 for channels that do not supportseeking..PP.VS\fIChannelId\fR must be an identifier for an open channel such as aTcl standard channel (\fBstdin\fR, \fBstdout\fR, or \fBstderr\fR),the return value from an invocation of \fBopen\fR or \fBsocket\fR, orthe result of a channel creation command provided by a Tcl extension..VE.SH "SEE ALSO"file(n), open(n), close(n), gets(n), seek(n), Tcl_StandardChannels(3).SH KEYWORDSaccess position, channel, seeking
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -