]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/ledger_set_remote.html
xnu-1504.3.12.tar.gz
[apple/xnu.git] / osfmk / man / ledger_set_remote.html
1 <h2>ledger_set_remote</h2>
2 <hr>
3 <p>
4 <strong>Function</strong> - Set this host's remote ledger port.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>kern_return_t ledger_set_remote</strong>
8 <strong>(ledger_port_t</strong> <var>ledger</var>,
9 <strong>ledger_port_t</strong> <var>service_port</var><strong>);</strong>
10 </pre>
11 <h3>PARAMETERS</h3>
12 <dl>
13 <p>
14 <dt> <var>ledger</var>
15 <dd>
16 [in ledger send right]
17 The ledger whose service port is to be set.
18 <p>
19 <dt> <var>service_port</var>
20 <dd>
21 [in ledger-service send right]
22 The ledger service port
23 </dl>
24 <h3>DESCRIPTION</h3>
25 <p>
26 The <strong>ledger_set_remote</strong> function sets the remote ledger service port
27 for the ledger. This is the port the ledger will return for
28 <strong>ledger_get_remote</strong> requests.
29 <h3>NOTES</h3>
30 <p>
31 This interface is not implemented in OSF/1 R1.3.
32 <h3>RETURN VALUES</h3>
33 <p>
34 Only generic errors apply.
35 <h3>RELATED INFORMATION</h3>
36 <p>
37 Functions:
38 <a href="ledger_create.html"><strong>ledger_create</strong></a>,
39 <a href="ledger_get_remote.html"><strong>ledger_get_remote</strong></a>.