rpc_sm_disable_allocate, rpc_sm_disable_allocate-releases resources and allocated memory within the stub memory management scheme
#include <rpc/rpc.h>
void rpc_sm_disable_allocate(unsigned32 *status);
void rpc_ss_disable_allocate(void);
The rpc_sm_disable_allocate
routine releases all resources acquired by a call to rpc_sm_enable_allocate
(3), and any memory allocated by calls to rpc_sm_allocate
(3) after the call to rpc_sm_enable_allocate
was made.
The rpc_sm_enable_allocate
and rpc_sm_disable_allocate
routines must be used in matching pairs. Calling this routine without a previous matching call to rpc_sm_enable_allocate
results in unpredictable behavior.
The output parameter, status
, returns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not. Possible status codes and their meanings include:
rpc_s_ok
rpc_ss_disable_allocate
is the exception-returning version of this function and has no status
output parameter. No exceptions are raised.
None.
rpc_sm_allocate
(3), rpc_sm_enable_allocate
(3), BEA TUXEDO TxRPC Guide