Previous Topic

Next Topic

c-tree Plus Function Descriptions

Generic Chapter Banner

The c-tree Plus® function definitions are presented in alphabetical order, each starting on a new page, to facilitate your search for information.

Function definitions are comprised some or all of the following sections:

Short Name

Internal c-tree Plus function name. See Function Name Cross Reference in the c-tree Plus Programmer’s Reference Guide for a cross-reference.

Type

ISAM, low-level, Server only, Server admin, threading, or utility function

Declaration

Function and parameter declarations

Description

Detailed description

Return

Explanation of most common return values. See “c-tree Plus Error Codes” in the c-tree Plus Programmer’s Reference Guide for additional error explanations.

Example

Programming example

Limitations

Restrictions on use and/or shortcomings

See also

Related functions and information

After each c-tree Plus function call, a global variable will contain the current error code, or zero if no error occurred. In the case of all types except ISAM, the error code variable is uerr_cod. Some of the c-tree Plus low-level functions also set the global variable sysiocod to the value of errno when a C runtime function experiences an I/O error. errno is the Language C run-time error variable automatically maintained by the C run-time library. Unlike uerr_cod, sysiocod is not reset by new calls to c-tree Plus. It is only set to errno if an open, create, seek, read, write, or lock function fails. The c-tree Plus ISAM functions set the variable isam_err. In addition, the ISAM functions set the variable isam_fil with the data or index file number involved.

The error codes listed in each Return section of the function descriptions are not exhaustive. The only error codes included are those which have a meaningful context for the function in question.

In This Chapter

Abort

AbortXtd

AddCtResource

AddKey

AddRecord

AddVRecord

AllocateBatch

AllocateRange

AllocateSet

AvailableFileNbr

Begin

BuildKey

BlockingISAMRead

ChangeBatch

ChangeHistory

ChangeISAMContext

ChangeSet

CleanIndexXtd

ClearSavePoint

CloseCtFile

CloseCtFileByName

CloseIFile

CloseISAMContext

CloseRFile

Commit

CompactIFile

CompactIFileXtd

CompactIFileXtd

cpybuf

CreateDataFile

CreateDataFileXtd

CreateDataFileXtd8

CreateIFile

CreateIFileXtd

CreateIFileXtd8

CreateIndexFile

CreateIndexFileXtd

CreateIndexFileXtd8

createindexmember.htm

CreateISAMXtd

ctCallback

ctFILELIST

ctFILBLK

ctFileCloseCallback

ctFileCreateCallback

ctFileOpenCallback

ctFILMTX

ctfiltercb_rowl

ctGETHGH

ctLOKTIMOUT

ctMBprefix

ctNotify

CtreeAsynchronous

CtreeCheckPoint

CtreeFlushFile

CtreeFlushFileXtd

CtreeUserOperation

CtreeUserOperation

CreateISAM

ctSETHGH

ctSetOWNER

ctSQLImportTable

ctSysQueueClose

ctSysQueueCount

ctSysQueueLIFOWrite

ctSysQueueMlen

ctSysQueueOpen

ctSysQueueRead

ctSysQueueWrite

ctThrdAttach

ctThrdBlockCls

ctThrdBlockGet

ctThrdBlockInit

ctThrdBlockRel

ctThrdBlockWait

ctThrdCreate

ctThrdData

ctThrdDataSet

ctThrdDetach

ctThrdExit

ctThrdHandle

ctThrdInit

ctThrdLIFOWrite

ctThrdMutexCls

ctThrdMutexGet

ctThrdMutexRel

ctThrdMutexTry

ctThrdQueueClose

ctThrdQueueCount

ctThrdQueueMlen

ctThrdQueueOpen

ctThrdQueueRead

ctThrdQueueReadDirect

ctThrdQueueWrite

ctThrdQueueWriteDirect

ctThrdSemapCls

ctThrdSemapGet

ctThrdSemapInit

ctThrdSemapRel

ctThrdSemapTry

ctThrdSleep

ctThrdTerm

ctTransferFile

ctu16TOu8

ctu8TOu16

ctUPDICU

CurrentFileOffset

CurrentISAMKey

CurrentLowLevelKey

DeleteCtFile

DeleteCtResource

DeleteIFile

DeleteKey

DeleteKeyBlind

DeleteRecord

DeleteRFile

DeleteVRecord

DoBatch

DoBatchXtd

DropIndex

EnableCtResource

EstimateKeySpan

FindFileByName

FirstInRange

FirstInvRange

FirstInSet

FirstInVSet

FirstKey

FirstRecord

FirstVRecord

FreeBatch

FreeBatchNbr

FreeHistory

FreeHistoryNbr

FreeRange

FreeSet

FreeSetNbr

GetAltSequence

GetConditionalIndex

GetCtFileInfo

GetCtreePointer

GetCtResource

GetCtTempFileName

GetDODA

GetGTEKey

GetGTERecord

GetGTEVRecord

GetGTKey

GetGTRecord

GetGTVRecord

GetIFile

GetKey

GetLTEKey

GetLTERecord

GetLTEVRecord

GetLTKey

GetLTRecord

GetLTVRecord

GetORDKey

GetRecord

GetSerialNbr

GetServerInfo

GetServerInfoXtd

GetSuperFileNames

GetSymbolicNames

GetVRecord

GetXtdCreateBlock

GetXtdKeySegmentDef

InitCTree

InitCTreeXtd

InitISAM

InitISAMXtd

IOPERFORMANCE

IOPERFORMANCEX

KeyAtPercentile

LastInRange

LastInVRange

LastInSet

LastInVSet

LastKey

LastRecord

LastVRecord

LoadKey

LockCtData

LockDump

LockISAM

LockList

NbrOfKeyEntries

NbrOfKeysInRange

NbrOfRecords

NewData

NewVData

NextCtree

NextInRange

NextInVRange

NextInSet

NextInVSet

NextKey

NextRecord

NextVRecord

OpenCtFile

OpenCtFileXtd

OpenFileWithResource

OpenFileWithResourceXtd

OpenIFile

OpenIFileXtd

OpenISAM

OpenISAMContext

OpenISAMXtd

PartitionAdmin

Perform

PermIIndex

PermIIndex8

PositionSet

PositionVSet

PreviousInRange

PreviousInVRange

PreviousInSet

PreviousInVSet

PreviousKey

PreviousRecord

PreviousVRecord

PutDODA

PutIFile

PutIFileXtd

PutIFileXtd8

PutXtdKeySegmentDef

QuietCtree

ReadData

ReadIsamData

ReadIsamVData

ReadVData

RebuildIFile

RebuildIFileXtd

RebuildIFileXtd8

RebuildIIndex

RegisterCtree

ReleaseData

ReleaseVData

RenameFile

RenameIFile

RenameIFileXtd

ReplaceSavePoint

ReReadRecord

ReReadVRecord

ResetRecord

RestoreSavePoint

ReWriteRecord

ReWritePartialRecord

ReWriteVRecord

SA_ERRMSG

SA_FILES

SA_GROUP

SA_LOGOF

SA_LOGON

SA_USERS

SA_WILDCARD

Security

SetAlternateSequence

SetCallbackOnRebuild

SetDataFilter

SetEncryption

SetFileSegments

SETLOGPATH

SetNodeName

SetOperationState

SetRecord

SetSavePoint

SetSystemConfigurationOption

SetVariableBytes

SnapShot

StopServer

StopServerXtd

StopUser

StopUserAsync

SuperfilePrepassXtd

SwitchCtree

SystemConfiguration

SystemLog

SystemMonitor

TempIIndexXtd

TempIIndexXtd8

TestFileNbr

TestHugeFile

TRANRDY

TransactionHistory

TransformKey

TransformSegment

TransformXtdSegment

UnRegisterCtree

UpdateConditionalIndex

UpdateCtResource

UpdateFileMode

UpdateHeader

UserLogEntry

uTFRMKEY

VDataLength

VRecordLength

vtclose

WhichCtree

WriteData

WriteVData