Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetFieldStringEncoding

Get the encoding set on the field as a string.

Declaration

pTEXT ctdbDECL ctdbGetFieldStringEncoding( CTHANDLE Handle )

Description

  • Handle [IN] - the associated field handle.

ctdbGetFieldStringEncoding() returns the encoding set on the field as a string or Null if no encoding was set or an error occurred. Check ctdbGetError().

Calling ctdbGetFieldStringEncoding() on a field without an encoding set results in returning NULL.

Returns

c-treeDB error code

TOCIndex