Oracle Call Interface Programmer's Guide Release 9.0.1 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.
Memory allocated.
One of the following (a previously created user duration):
OCI_DURATION_CALLOUT
OCI_DURATION_STATEMENT
OCI_DURATION_SESSION
OCI_DURATION_PROCESS
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 OCIExtProcAllocCallMemory()
or OCIMemoryAlloc()
with dur
as OCI_DURATION_CALLOUT.
Error code.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|