Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetPadChar

Set the table pad and field delimiter characters.

Declaration

CTDBRET ctdbSetPadChar(CTHANDLE Handle, NINT pPadChar, NINT pDmlChar)

Description

ctdbSetPadChar() sets the table pad and field delimiter characters. These characters are used to pad fixed string fields (CT_FSTRING) to allow proper target key formation.

  • Handle [in] the Table Handle.
  • padchar [in] the pad character
  • dmlchar [in] the field delimiter character

Returns

ctdbSetPadChar() returns CTDBRET_OK on success, or FairCom DB API C API error code on failure.

See also

ctdbGetPadChar(), ctdbUpdatePadChar()

TOCIndex