]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/mach_thread_self.html
xnu-344.tar.gz
[apple/xnu.git] / osfmk / man / mach_thread_self.html
1 <h2>mach_thread_self</h2> <hr> <p> <strong>System Trap</strong> - Returns the thread self port. <h3>SYNOPSIS</h3> <p> <strong>#include <mach/mach_traps.h></strong> <pre> <strong>thread_port_t mach_thread_self( void );</strong> </pre> <h3>PARAMETERS</h3> <p> None. <h3>DESCRIPTION</h3> <p> The <strong>mach_thread_self</strong> function returns send rights to the thread's own kernel port. <h3>RETURN VALUES</h3> <p> [thread-self send right] Send rights to the thread's port. <h3>RELATED INFORMATION<h3> <p> Functions: <a href="thread_info.html"><strong>thread_info</strong></a>, <a href="thread_set_special_port.html"><strong>thread_set_special_port</strong></a>.