The ifx_lo_from_buffer() function
The ifx_lo_from_buffer() function copies a specified number of bytes from a user-defined buffer into a smart large object.
Syntax
mint ifx_lo_from_buffer(LO_ptr, size, buffer, error)
ifx_lo_t *LO_ptr;
mint size;
char *buffer;
mint *error;
- LO_ptr
- The LO-pointer structure for the smart large object into which you want to copy the data.
- size
- A mint that identifies the number of bytes to copy to the smart large object.
- buffer
- A pointer to a user-defined buffer from which you want to copy the data.
- error
- Contains the address of the mint that holds the error code that ifx_lo_from_buffer() sets
Usage
The ifx_lo_from_buffer() function copies bytes, up to the size specified by size, from the user-defined buffer into the smart large object that the LO_ptr argument identifies. The write operation to the smart large object starts at a zero-byte offset. To use the ifx_lo_from_buffer() function, the smart large object must exist in an sbspace before you copy the data.
Return codes
- 0
- The function was successful.
- -1
- The function was not successful.