Function - Create a subordinate ledger.
kern_return_t ledger_create (ledger_port_t parent_ledger, ledger_port_t ledger_ledger, ledger_port_t child_ledger, ledger_item_t transfer);
The ledger_create function creates a subordinate ledger. Resource limits can be transferred from the parent ledger. The child ledger itself is accounted against the ledger_ledger. A new ledger inherits the remote service port.
This interface is not implemented in OSF/1 R1.3.
A ledger limit of LEDGER_ITEM_INFINITE allows any amount (even infinity) to be withdrawn. The root ledger has such a limit.
Functions: ledger_transfer, ledger_terminate, ledger_read, ledger_set_remote.