1 <h2>ledger_transfer
</h2>
4 <strong>Function
</strong> - Transfer resources from a parent ledger to a child.
7 <strong>kern_return_t ledger_transfer
</strong>
8 <strong>(ledger_port_t
</strong> <var>parent_ledger
</var>,
9 <strong>ledger_port_t
</strong> <var>child_ledger
</var>,
10 <strong>ledger_item_t
</strong> <var>transfer
</var><strong>);
</strong>
15 <dt> <var>parent_ledger
</var>
17 [in ledger send right]
20 <dt> <var>child_ledger
</var>
22 [in ledger send right]
25 <dt> <var>transfer
</var>
28 The resource amount to transfer. A positive amount moves
29 the resource allocation from the parent to the child; a negative amount
34 The
<strong>ledger_transfer
</strong> function transfers resources from
35 a parent to a child ledger.
38 This interface is not implemented in OSF/
1 R1.3.
39 <h3>RETURN VALUES
</h3>
42 <dt> <strong>KERN_RESOURCE_SHORTAGE
</strong>
44 Transferring the resources would cause one ledger to exceed its limit.
46 <h3>RELATED INFORMATION
</h3>
49 <a href=
"ledger_create.html"><strong>ledger_create
</strong></a>,
50 <a href=
"ledger_terminate.html"><strong>ledger_terminate
</strong></a>,
51 <a href=
"ledger_read.html"><strong>ledger_read
</strong></a>.