______________________________________________________________________________
tell − 返回一個打開的通道的當前訪問位置
tell channelId _________________________________________________________________
返回一個整數值,給出 │ channelId │ 的當前訪問位置。返回的這個值是可以傳遞給 │ seek │ 命令的一個字節偏移量,用以把通道設置到一個特定的位置。注意這個值以字節為單位的,而不是以字符為單位如 │ read 命令。 對於不支持搜尋(seek)的通道返回的這個值是 -1。
file(n), open(n), close(n), gets(n), seek(n)
access position, channel, seeking
寒蟬退士
2001/11/20
http://cmpp.linuxforum.net