]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/host_page_size.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / host_page_size.html
CommitLineData
13fec989
A
1<h2>host_page_size</h2>
2<hr>
3<p>
4<strong>Function</strong> - Provide the system's virtual page size.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t host_page_size</strong>
8 <strong>(host_t</strong> <var>host</var>,
9 <strong>vm_size_t</strong> <var>page_size</var><strong>);</strong>
10</pre>
11<h3>PARAMETERS</h3>
12<dl>
13<p>
14<dt> <var>host</var>
15<dd>
16[in host-name send right]
17The name (or control) port for the host for
18which the page size is desired.
19<p>
20<dt> <var>page_size</var>
21<dd>
22[out scalar]
23The host's page size (in bytes).
24</dl>
25<h3>DESCRIPTION</h3>
26<p>
27The <strong>host_page_size</strong> function returns the page size for the given host.
28<h3>RETURN VALUES</h3>
29<p>
30Only generic errors apply.
31<h3>RELATED INFORMATION</h3>
32<p>
33Functions:
34<a href="mach_host_self.html"><strong>mach_host_self</strong></a>.