]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/mach_host_self.html
xnu-792.6.70.tar.gz
[apple/xnu.git] / osfmk / man / mach_host_self.html
CommitLineData
9bccf70c 1<h2>mach_host_self</h2>\r<hr>\r<p>\r<strong>System Trap</strong> - Returns the host self port\r<h3>SYNOPSIS</h3>\r<pre>\rhost_name_port_t mach_host_self( void );</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<p>\rNone.\r\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>mach_host_self</strong> function\rreturns send rights to the task's host self port.\rBy default, this is the name port for the current host\rbut can be a different value if so set.\r\r<h3>RETURN VALUES</h3>\r<p>\r[host-self send right] Send rights to the host's name port.\r\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="host_info.html"><strong>host_info</strong></a>,\r<a href="task_set_special_port.html"><strong>task_set_special_port</strong></a>.\r