]> git.saurik.com Git - apple/xnu.git/blame_incremental - osfmk/man/host_page_size.html
xnu-344.tar.gz
[apple/xnu.git] / osfmk / man / host_page_size.html
... / ...
CommitLineData
1<h2>host_page_size</h2>\r<hr>\r<p>\r<strong>Function</strong> - Provide the system's virtual page size.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t host_page_size</strong>\r <strong>(host_t</strong> <var>host</var>,\r <strong>vm_size_t</strong> <var>page_size</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>host</var> \r<dd>\r[in host-name send right]\rThe name (or control) port for the host for \rwhich the page size is desired.\r<p>\r<dt> <var>page_size</var> \r<dd>\r[out scalar]\rThe host's page size (in bytes).\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>host_page_size</strong> function returns the page size for the given host.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="mach_host_self.html"><strong>mach_host_self</strong></a>.\r