Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbBigIntToString

Convert a big integer value to a string.

Declaration

CTDBRET ctdbBigIntToString(CTBIGINT value, pTEXT pStr, NINT size)

Description

ctdbBigIntToString() converts a big integer value to a string. A big integer is an 8 bytes integer value. Use ctdbStringToBigInt() to convert from a string to a big integer.

  • value [in] the big integer value (8 bytes signed integer).
  • pStr [out] the string value.
  • size [in] the string size in bytes

Returns

ctdbBigIntToString() returns CTDBRET_OK on success, or c-treeDB API error on failure.

The possible error associated with ctdbBigIntToString() is:

  • CTDBRET_NULARG (4007): Null argument not valid in pStr

See also

ctdbStringToBigInt()

TOCIndex