User Tools

Site Tools


ftell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ftell [2006/10/06 19:08] (current)
Line 1: Line 1:
 +# $EPIC: ftell.txt,v 1.2 2006/10/06 19:08:28 jnelson Exp $
 +======Synopsis:​======
 +$[[ftell]](//​file descriptor//​)
 +
 +======Technical:​======
 +This function returns the current position of the file pointer, measured
 +in bytes from the beginning of the file.  This value can be used to save
 +your position in the file, and you can later use
 +    $fseek(//​file descriptor//​ SET //​ftell-value//​)
 +to resume your place.
 +
 +The //file descriptor//​ must have been a value previously returned by 
 +the [[open]] function. ​
 +
 +======Returns:​======
 +<​file>​
 +-1   ​Error:​ //file descriptor//​ was not previously returned by [[open]], or //anchor// is not supported.
 +</​file>​
  
ftell.txt ยท Last modified: 2006/10/06 19:08 (external edit)