## ledger_transfer

Function - Transfer resources from a parent ledger to a child.

### SYNOPSIS

    kern_return_t   ledger_transfer
                    (ledger_port_t                    parent_ledger,
                     ledger_port_t                     child_ledger,
                     ledger_item_t                         transfer);

### PARAMETERS

parent_ledger
  [in ledger send right] The parent ledger

child_ledger
  [in ledger send right] The child ledger

transfer
  [in scalar] The resource amount to transfer. A positive amount moves the resource allocation from the parent to the child; a negative amount moves the reverse.

### DESCRIPTION

The ledger_transfer function transfers resources from a parent to a child ledger.

### NOTES

This interface is not implemented in OSF/1 R1.3.

### RETURN VALUES

KERN_RESOURCE_SHORTAGE
  Transferring the resources would cause one ledger to exceed its limit.

### RELATED INFORMATION

Functions: ledger_create, ledger_terminate, ledger_read.