X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/man/ledger_read.html diff --git a/osfmk/man/ledger_read.html b/osfmk/man/ledger_read.html old mode 100755 new mode 100644 index fa283565a..17ff288e3 --- a/osfmk/man/ledger_read.html +++ b/osfmk/man/ledger_read.html @@ -1 +1,47 @@ -

ledger_read


Function - Return the ledger limit and balance.

SYNOPSIS

kern_return_t   ledger_read
                (ledger_port_t                           ledger,
                 ledger_item_t                          balance,
                 ledger_item_t                          maximum);

PARAMETERS

ledger
[in ledger send right] The ledger to read

balance
[out scalar] The current usage

maximum
[out scalar] The resource limit

DESCRIPTION

The ledger_read function returns the current balance and limit in a ledger.

NOTES

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

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: ledger_create, ledger_terminate, ledger_transfer. \ No newline at end of file +

ledger_read

+
+

+Function - Return the ledger limit and balance. +

SYNOPSIS

+
+kern_return_t   ledger_read
+                (ledger_port_t                           ledger,
+                 ledger_item_t                          balance,
+                 ledger_item_t                          maximum);
+
+

PARAMETERS

+
+

+

ledger +
+[in ledger send right] +The ledger to read +

+

balance +
+[out scalar] +The current usage +

+

maximum +
+[out scalar] +The resource limit +
+

DESCRIPTION

+

+The ledger_read function returns the current balance +and limit in a ledger. +

NOTES

+

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

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +ledger_create, +ledger_terminate, +ledger_transfer. + +