Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetSegment

Retrieve the segment handle of the segment indicated by SegNumber.

Declaration

CTHANDLE ctdbGetSegment(CTHANDLE Handle, NINT SegNumber)

Description

ctdbGetSegment() retrieves the segment handle of the segment indicated by SegNumber.

  • Handle [in] the index handle.
  • SegNumber [in] the Index segment number to be retrieved.

Returns

ctdbGetSegment() returns the segment handle, or NULL on error.

See also

ctdbAllocIndex()

TOCIndex