![]() |
ftell | Function (tigcc.a) |
stdio.h |
long ftell (const FILE *stream); |
Returns the current file pointer.
ftell returns the current file pointer for the stream associated with the structure pointed to by stream. The offset is measured in bytes from the beginning of the file. The value returned by ftell can be used in a subsequent call to fseek. ftell returns the current file pointer position on success. It returns EOF on error.