conn
is a pointer to the connection descriptor that a previous call to mi_open() or mi_server_connect() established.
LO_fd
is an LO file descriptor for the smart large object from which to read.
buf
is a pointer to a user-allocated character buffer that contains the data that mi_lo_readwithseek() reads from the smart large object.
nbytes
is the maximum number of bytes to read from the buf character buffer. This value cannot exceed 2 gigabytes.
offset
is a pointer to the 8-byte integer (mi_int8) offset from the starting LO seek position.
whence
is an integer value that identifies the starting LO seek position.
Yes
MI_LO_SEEK_SET
The start of the smart large object
MI_LO_SEEK_CUR
The current LO seek position in the smart large object
MI_LO_SEEK_END
The end of the smart large object
>=0
The number of bytes that the function has read from the open smart large object to the buf character buffer.
MI_ERROR
The function was not successful.