Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic


Retrieve the defined field size from the table definition.


VRLEN ctdbGetFieldSize(CTHANDLE Handle, NINT FieldNbr)


ctdbGetFieldSize() retrieves the defined size of a field from the table definition, given a record handle and a field number. To get this information given a field handle, use ctdbGetFieldLength(). To get the actual number of bytes being consumed by the data in a single field, in a single record (row) from a table, use ctdbGetFieldDataLength().

  • Handle [in] the record handle. This must be a record handle, and not any other handle type.
  • FieldNbr [in] the field number.


ctdbGetFieldSize() returns the defined field size.

See also

ctdbGetFieldDataLength(), ctdbGetFieldLength()