Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetIndexSegmentCount

Retrieve the number of segments associated with this index

Declaration

VRLEN ctdbGetIndexSegmentCount(CTHANDLE Handle)

Description

ctdbGetIndexSegmentCount() retrieves the number of segments associated with this index.

  • Handle [in] the index handle.

Returns

ctdbGetIndexSegmentCount() returns the number of segments or -1 on error.

See also

ctdbAllocIndex()

TOCIndex