mach_host_self.html   [plain text]


<h2>mach_host_self</h2>
<hr>
<p>
<strong>System Trap</strong> - Returns the host self port
<h3>SYNOPSIS</h3>
<pre>
host_name_port_t   mach_host_self( void );</strong>
</pre>
<h3>PARAMETERS</h3>
<p>
None.

<h3>DESCRIPTION</h3>
<p>
The <strong>mach_host_self</strong> function
returns send rights to the task's host self port.
By default, this is the name port for the current host
but can be a different value if so set.

<h3>RETURN VALUES</h3>
<p>
[host-self send right] Send rights to the host's name port.

<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="host_info.html"><strong>host_info</strong></a>,
<a href="task_set_special_port.html"><strong>task_set_special_port</strong></a>.