|Oracle Call Interface Programmer's Guide
Part Number A89857-01
OCI Cartridge Functions, 8 of 43
This call allocates memory of a given size from a given duration.
sword OCIMemoryAlloc( dvoid *hndl, OCIError *err, dvoid **mem, OCIDuration dur, ub4 size, ub4 flags );
The OCI environment handle.
The error handle.
One of the following (a previously created user duration):
Size of memory to be allocated.
Set OCI_MEMORY_CLEARED bit to get memory that has been cleared.
To allocate memory for duration of callout of agent, i.e., external procedure duration, use
dur as OCI_DURATION_CALLOUT.