VASResult shore_vas::writeObj( const lrid_t &obj, ObjectOffset offset, const vec_t &data );
WriteObj updates an object, using data in the caller's address space. It cannot be used to change the size of an object.
The argument obj is the full logical object identifier of the object to be updated.
The argument offset indicates the first byte of the object to be written.
The argument data is a scatter vector that identifies the data in the caller's address space that is to be written to the object.
The vector may be empty.
An exclusive lock is acquired before the write occurs.
WriteObj must be called when a transaction is active.
Deadlocks can occur while locks are being acquired. See transaction(svas) for information about deadlocks.
A complete list of errors is in errors(svas).