Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetRecordOffset

Update the record offset.

Declaration

CTDBRET ctdbSetRecordOffset(CTHANDLE Handle, CTOFFSET offset )

Description

ctdbSetRecordOffset() updates the record offset. The current record pointer is not moved and no record data is updated.

  • Handle [in] the record handle.
  • offset [in] the new record byte offset.

Returns

ctdbSetRecordOffset() returns CTDBRET_OK on success, or a FairCom DB API C API error code on failure

See also

ctdbSetRecordPos(), ctdbSeekRecord(), ctdbGetRecordPos(), ctdbSetRecordBuffer()

TOCIndex