If this enlarges the object, the new area is logically filled with
zeroes. If this shrinks the object, the excess data is removed.
@param io the context in which to truncate
@param oid the name of the object
@param size the new size of the object in bytes
@returns 0 on success, negative error code on failure
Resize an object
If this enlarges the object, the new area is logically filled with zeroes. If this shrinks the object, the excess data is removed.
@param io the context in which to truncate @param oid the name of the object @param size the new size of the object in bytes @returns 0 on success, negative error code on failure