diff options
Diffstat (limited to 'tcl/doc/seek.n')
-rw-r--r-- | tcl/doc/seek.n | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tcl/doc/seek.n b/tcl/doc/seek.n index 7c3bb818ae7..7b156db5242 100644 --- a/tcl/doc/seek.n +++ b/tcl/doc/seek.n @@ -20,8 +20,14 @@ seek \- Change the access position for an open channel .SH DESCRIPTION .PP Changes the current access position for \fIchannelId\fR. -\fIChannelId\fR must be a channel identifier such as returned from a -previous invocation of \fBopen\fR or \fBsocket\fR. +.PP +.VS +\fIChannelId\fR must be an identifier for an open channel such as a +Tcl standard channel (\fBstdin\fR, \fBstdout\fR, or \fBstderr\fR), +the return value from an invocation of \fBopen\fR or \fBsocket\fR, or +the result of a channel creation command provided by a Tcl extension. +.VE +.PP The \fIoffset\fR and \fIorigin\fR arguments specify the position at which the next read or write will occur for \fIchannelId\fR. \fIOffset\fR must be an integer (which may be @@ -57,5 +63,8 @@ offsets. Both \fBseek\fR and \fBtell\fR operate in terms of bytes, not characters, unlike \fBread\fR. .VE 8.1 +.SH "SEE ALSO" +file(n), open(n), close(n), gets(n), tell(n), Tcl_StandardChannels(3) + .SH KEYWORDS access position, file, seek |