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