Site Tools


ftell
no way to compare when less than two revisions

Differences

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


ftell [2006/10/06 19:08] (current) – created - external edit 127.0.0.1
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 by 127.0.0.1