INtime SDK Help
ltell

Sets the absolute position of the file pointer for the next I/O operation.

#include <io.h>

long ltell (int handle);

long64 _ltell64 (int handle);

Parameters

handle
Descriptor referring to an open file.

Remarks

This function is equivalent to:

lseek (handle, 0L, SEEK_CUR)
Note: _ltell64() is not implemented on INtime for Windows.

Return Values

The absolute position of the next byte in the file.
Success.
-1L and the function sets errno to one of these values:
EBADF Invalid file descriptor.
EIMPL Library call is not implemented in the current configuration
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/io.h io.h clib.lib

See Also

lseek _lseek64