ctdbGetFieldOffset
Retrieve the field offset in record buffer
Declaration
VRLEN ctdbGetFieldOffset(CTHANDLE Handle, NINT FieldNbr)
Description
ctdbGetFieldOffset() retrieves the field offset in record buffer.
Returns
ctdbGetFieldOffset() returns the field offset.
Example
pMyRec1 = ctdbAllocRecord(pMyTable1);
ctdbFirstRecord(pMyRec1);
field0_offset = ctdbGetFieldOffset(pMyRec1, 0);
See also
ctdbGetFieldAddress()