In the C Programming Language, the ftell function returns the current file function indicator for the flow pointed to by stream.
The syntax for the ftell characteristic in the C Language is:
long int ftell(FILE *stream);
Parameters or Arguments
stream The move whose file role indicator is to be returned.
The ftell function returns the present day file position indicator for stream. If an error occurs, the ftell characteristic will return -1L and update errno.
In the C Language, the required header for the ftell feature is:
In the C Language, the ftell feature can be used in the following versions:
Other C features that are comparable to the ftell function:
fgetpos function <stdio.h>
Other C functions that are noteworthy when dealing with the ftell function:
fseek characteristic fsetpos feature rewind function