task_set_port_space
Function - Set the size of the target task's port name space table.
SYNOPSIS
kern_return_t task_set_port_space
(task_t task,
int table_entries);
PARAMETERS
- task
-
[in send right] The port referencing the task whose port name space is
to be set.
- table_entries
-
[in scalar] The number of entries in the port name space table.
DESCRIPTION
The task_set_port_space function preallocates the specified number of
entries in the specified task's IPC name space.
RETURN VALUES
- KERN_NO_SPACE
-
The requested table size exceeds the maximum allowable table size.
RELATED INFORMATION
Functions:
mach_port_allocate.