Oracle Call Interface Programmer's Guide
Release 9.0.1

Part Number A89857-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

OCI Relational Functions, 14 of 39


OCITerminate()

Purpose

Detaches the process from the shared memory subsystem and releases the shared memory.

Syntax

sword OCITerminate ( ub4    mode);

Parameters

mode (IN)

Call-specific mode. Valid value:

Comments

OCITerminate() should be called only once for each process and is the counterpart of OCIInitialize() call. The call will try to detach the process from the shared memory subsystem and shut it down. It also performs additional process cleanup operations. When two or more processes connecting to the same shared memory are calling OCITerminate() simultaneously, the fastest one will release the shared memory subsystem completely and the slower ones will have to abort.

Related Functions

OCIInitialize()

Handle and Descriptor Functions

This section describes the OCI handle and descriptor functions.

Table 15-2 Handle and Descriptor Functions  
Function  Purpose 

OCIAttrGet() 

Get the attributes of a handle 

OCIAttrSet() 

Set an attribute of a handle or descriptor 

OCIDescriptorAlloc() 

Allocate and initialize a descriptor or LOB locator 

OCIDescriptorFree() 

Free a previously allocated descriptor 

OCIHandleAlloc() 

Allocate and initialize a handle 

OCIHandleFree() 

Free a previously allocated handle 

OCIParamGet() 

Get a parameter descriptor 

OCIParamSet() 

Set parameter descriptor in COR handle 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback