tell.3tcl

Langue: en

Autres versions - même langue

Version: 8.1 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)


 

NAME

tell - Return current access position for an open channel

SYNOPSIS

tell channelId
 

 
 

DESCRIPTION

Returns an integer string giving the current access position in channelId. This value returned is a byte offset that can be passed to seek in order to set the channel to a particular position. Note that this value is in terms of bytes, not characters like read. The value returned is -1 for channels that do not support seeking.

SEE ALSO

file(3tcl), open(3tcl), close(3tcl), gets(3tcl), seek(3tcl)

KEYWORDS

access position, channel, seeking