]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/task_set_port_space.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / task_set_port_space.html
CommitLineData
13fec989
A
1<h2>task_set_port_space</h2>
2<hr>
3<p>
4<strong>Function</strong> - Set the size of the target task's port name space table.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t task_set_port_space</strong>
8 <strong>(task_t</strong> <var>task</var>,
9 <strong>int</strong> <var>table_entries</var><strong>);</strong>
10</pre>
11<h3>PARAMETERS</h3>
12<dl>
13<p>
14<dt> <var>task</var>
15<dd>
16[in send right] The port referencing the task whose port name space is
17to be set.
18<p>
19<dt> <var>table_entries</var>
20<dd>
21[in scalar] The number of entries in the port name space table.
22</dl>
23<h3>DESCRIPTION</h3>
24<p>
25The <strong>task_set_port_space</strong> function preallocates the specified number of
26entries in the specified task's IPC name space.
27<h3>RETURN VALUES</h3>
28<dl>
29<p>
30<dt> <strong>KERN_NO_SPACE</strong>
31<dd>
32The requested table size exceeds the maximum allowable table size.
33</dl>
34<h3>RELATED INFORMATION</h3>
35<p>
36Functions:
37<a href="mach_port_allocate.html"><strong>mach_port_allocate</strong></a>.