1 <h2>mach_thread_self
</h2>
4 <strong>System Trap
</strong> - Returns the thread self port.
8 <strong>#include
<mach/mach_traps.h
></strong>
10 <strong>thread_port_t mach_thread_self( void );
</strong>
17 The
<strong>mach_thread_self
</strong> function returns send rights
18 to the thread's own kernel port.
19 <h3>RETURN VALUES
</h3>
21 [thread-self send right] Send rights to the thread's port.
22 <h3>RELATED INFORMATION
<h3>
25 <a href=
"thread_info.html"><strong>thread_info
</strong></a>,
26 <a href=
"thread_set_special_port.html"><strong>thread_set_special_port
</strong></a>.