X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/ledger_transfer.html diff --git a/osfmk/man/ledger_transfer.html b/osfmk/man/ledger_transfer.html index 60676a29c..c703d50da 100755 --- a/osfmk/man/ledger_transfer.html +++ b/osfmk/man/ledger_transfer.html @@ -1 +1,51 @@ -

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. \ No newline at end of file +

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.