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 nbyte 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.
Yes
>=0
The number of bytes that the function has written from the buf character buffer to open the smart large object.
MI_ERROR
The function was not successful.