]>
Commit | Line | Data |
---|---|---|
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> | |
7 | host_name_port_t mach_host_self( void );</strong> | |
8 | </pre> | |
9 | <h3>PARAMETERS</h3> | |
10 | <p> | |
11 | None. | |
12 | ||
13 | <h3>DESCRIPTION</h3> | |
14 | <p> | |
15 | The <strong>mach_host_self</strong> function | |
16 | returns send rights to the task's host self port. | |
17 | By default, this is the name port for the current host | |
18 | but 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> | |
26 | Functions: | |
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>. |