]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/ledger_terminate.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / ledger_terminate.html
CommitLineData
13fec989
A
1<h2>ledger_terminate</h2>
2<hr>
3<p>
4<strong>Function</strong> - Destroy a ledger.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t ledger_terminate</strong>
8 <strong>(ledger_port_t</strong> <var>ledger</var><strong>);</strong>
9</pre>
10<h3>PARAMETERS</h3>
11<dl>
12<p>
13<dt> <var>ledger</var>
14<dd>
15[in ledger send right]
16The ledger to destroy
17</dl>
18<h3>DESCRIPTION</h3>
19<p>
20The <strong>ledger_terminate</strong> function destroys a ledger. All
21resources drawn from this
22ledger will also be destroyed. The resource limits in the ledger
23are returned to the ledger's parent.
24<h3>NOTES</h3>
25<p>
26This interface is not implemented in OSF/1 R1.3.
27<h3>RETURN VALUES</h3>
28<p>
29Only generic errors apply.
30<h3>RELATED INFORMATION</h3>
31<p>
32Functions:
33<a href="ledger_create.html"><strong>ledger_create</strong></a>,
34<a href="ledger_read.html"><strong>ledger_read</strong></a>,
35<a href="ledger_transfer.html"><strong>ledger_transfer</strong></a>.