The ifx_lo_tell() function

The ifx_lo_tell() function returns the current file or seek position for an open smart large object.

Syntax

mint ifx_lo_tell(LO_fd, seek_pos)
   mint LO_fd;
   ifx_int8_t *seek_pos;
LO_fd
The LO file descriptor for the open smart large object whose seek position you want to determine.
seek_pos
A pointer to the 8-byte integer that identifies the current seek position.

Usage

The seek position is the offset for the next read or write operation on the smart large object that is associated with the LO file descriptor, LO_fd. The ifx_lo_tell() function returns this seek position in the user-defined int8 variable, seek_pos.

Return codes

0
The function was successful.
<0
The function was not successful and the return value indicates the cause of the failure.