Back to Darwin Xnu

Task Set Port Space

osfmk/man/task_set_port_space.html

latest743 B
Original Source

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.

Functions: mach_port_allocate.