Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetSegmentNbr

Retrieve the segment number in the segment list on the index handle.

Declaration

CTDBRET ctdbGetSegmentNbr(CTHANDLE Handle, pVRLEN pNumber)

Description

ctdbGetSegmentNbr() retrieves the segment number in the segment list, given a Segment Handle. Use ctdbGetIndexNbr() to retrieve the index number.

  • Handle [in] the Segment Handle.
  • pNumber [out] the segment number.

Returns

ctdbGetSegmentNbr() returns CTDBRET_OK on success, or a FairCom DB API .NET error code on failure.

See also

ctdbGetIndexNbr()

TOCIndex