]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/mach_host_self.html
xnu-792.21.3.tar.gz
[apple/xnu.git] / osfmk / man / mach_host_self.html
CommitLineData
13fec989
A
1<h2>mach_host_self</h2>
2<hr>
3<p>
4<strong>System Trap</strong> - Returns the host self port
5<h3>SYNOPSIS</h3>
6<pre>
7host_name_port_t mach_host_self( void );</strong>
8</pre>
9<h3>PARAMETERS</h3>
10<p>
11None.
12
13<h3>DESCRIPTION</h3>
14<p>
15The <strong>mach_host_self</strong> function
16returns send rights to the task's host self port.
17By default, this is the name port for the current host
18but can be a different value if so set.
19
20<h3>RETURN VALUES</h3>
21<p>
22[host-self send right] Send rights to the host's name port.
23
24<h3>RELATED INFORMATION</h3>
25<p>
26Functions:
27<a href="host_info.html"><strong>host_info</strong></a>,
28<a href="task_set_special_port.html"><strong>task_set_special_port</strong></a>.