forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ledger_read.html
47 lines (45 loc) · 1.17 KB
/
ledger_read.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<h2>ledger_read</h2>
<hr>
<p>
<strong>Function</strong> - Return the ledger limit and balance.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t ledger_read</strong>
<strong>(ledger_port_t</strong> <var>ledger</var>,
<strong>ledger_item_t</strong> <var>balance</var>,
<strong>ledger_item_t</strong> <var>maximum</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>ledger</var>
<dd>
[in ledger send right]
The ledger to read
<p>
<dt> <var>balance</var>
<dd>
[out scalar]
The current usage
<p>
<dt> <var>maximum</var>
<dd>
[out scalar]
The resource limit
</dl>
<h3>DESCRIPTION</h3>
<p>
The <strong>ledger_read</strong> function returns the current balance
and limit in a ledger.
<h3>NOTES</h3>
<p>
This interface is not implemented in OSF/1 R1.3.
<h3>RETURN VALUES</h3>
<p>
Only generic errors apply.
<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="ledger_create.html"><strong>ledger_create</strong></a>,
<a href="ledger_terminate.html"><strong>ledger_terminate</strong></a>,
<a href="ledger_transfer.html"><strong>ledger_transfer</strong></a>.