Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbLongToBigInt

Convert a LONG value to a big integer.

Declaration

CTDBRET ctdbLongToBigInt(LONG value, pCTBIGINT pBigInt)

Description

ctdbLongToBigInt() converts a LONG value to a big integer value. A big integer is an 8 bytes integer value. Use ctdbBigIntToLong() to convert from a big integer to a LONG.

  • value [in] the CTSIGNED LONG value (4 bytes signed integer).
  • pBigInt [out] the big integer value (8 bytes signed integer).

Returns

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

The possible error associated with ctdbLongToBigInt() is:

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

See also

ctdbBigIntToLong()

TOCIndex