]> git.saurik.com Git - apple/xnu.git/blame_incremental - osfmk/man/mach_thread_self.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / mach_thread_self.html
... / ...
CommitLineData
1<h2>mach_thread_self</h2>
2<hr>
3<p>
4<strong>System Trap</strong> - Returns the thread self port.
5
6<h3>SYNOPSIS</h3>
7<p>
8<strong>#include <mach/mach_traps.h></strong>
9<pre>
10<strong>thread_port_t mach_thread_self( void );</strong>
11</pre>
12<h3>PARAMETERS</h3>
13<p>
14None.
15<h3>DESCRIPTION</h3>
16<p>
17The <strong>mach_thread_self</strong> function returns send rights
18to the thread's own kernel port.
19<h3>RETURN VALUES</h3>
20<p>
21[thread-self send right] Send rights to the thread's port.
22<h3>RELATED INFORMATION<h3>
23<p>
24Functions:
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>.
27