ctdbSetRecordPos
Set the current record offset position.
Declaration
CTDBRET ctdbSetRecordPos(CTHANDLE Handle, CTOFFSET offset)
Description
ctdbSetRecordPos() sets the current record position. The record buffer is not updated. Follow the ctdbSetRecordPos() with a call to ctdbReadRecord() to update the record buffer.
Returns
ctdbSetRecordPos() returns CTDBRET_OK on success, or a c-treeDB API C API error code on failure
See also
ctdbSetRecordOffset(), ctdbReadRecord(), ctdbSeekRecord(), ctdbGetRecordPos(), ctdbSetRecordBuffer()