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 to which to write.
buf
is a pointer to a user-allocated character buffer of at least nbytes bytes that contains the data to be written to the smart large object.
nbytes
is the number of bytes to write to the smart large object. 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 wrote from the buf character buffer to open the smart large object.
MI_ERROR
The function was not successful.