Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

FreeRange

Reset and free allocated buffers for range operation

Short Name

FRERNG()

Type

ISAM function

Declaration

COUNT FreeRange(FILNO keyno)

Description

In V12 the file number typedef was formally changed from COUNT, a two-byte value to FILNO, a four-byte value. Refer to this link for compatibility details. Four Byte File Numbering

FreeRange() should be called when a range associated with an index is no longer needed.

Return

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful operation.

See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

Example

if (FreeRange(1))

printf("\nFreeRange error = %d",uerr_cod);

See also

AllocateRange(), EstimateRange(), FirstInRange(), FirstInVRange(), LastInRange(), LastInVRange(), NextInRange(), NextInVRange(), PreviousInRange(), PreviousInVRange()

TOCIndex