Read data from a smart large object

The ifx_lo_read() and ifx_lo_readwithseek() library functions read data from an open smart large object.

They both read a specified number of bytes from the open smart large object into the user-defined character buffer. The ifx_lo_read() function begins the read operation at the current file position. You can specify the starting file position of the read with the ifx_lo_seek() function, and you can obtain the current file position with the ifx_lo_tell() function. The ifx_lo_readwithseek() function performs the seek and read operations with a single function call.

The ifx_lo_read() and ifx_lo_readwithseek() functions require a valid LO file descriptor to identify the smart large object to be read. You obtain an LO file descriptor with the ifx_lo_open() or ifx_lo_create() function.