1 <h2>task_set_port_space
</h2> 
   4 <strong>Function
</strong> - Set the size of the target  task's port name space table.
 
   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> 
  16 [in send right] The port referencing the task whose port name space is
 
  19 <dt> <var>table_entries
</var> 
  21 [in scalar] The number of entries in the port name space table.
 
  25 The 
<strong>task_set_port_space
</strong> function preallocates the specified number of
 
  26 entries in the specified task's IPC name space.
 
  27 <h3>RETURN VALUES
</h3> 
  30 <dt> <strong>KERN_NO_SPACE
</strong> 
  32 The requested table size exceeds the maximum allowable table size.
 
  34 <h3>RELATED INFORMATION
</h3> 
  37 <a href=
"mach_port_allocate.html"><strong>mach_port_allocate
</strong></a>.