NAME
port_set_remove - removes a port from a port set
SYNOPSIS
#include <mach.h>
kern_return_t
port_set_remove(task, port_name)
task_t task;
port_name_t port_name;
ARGUMENTS
task The task owning the receive rights and port set.
port_name task ’s name for the receive rights to be removed.
DESCRIPTION
port_set_remove removes the named port from a port set. task
must
have receive rights for the port, and the port must be a
member of
a port set.
DIAGNOSTICS
KERN_SUCCESS The call succeeded.
KERN_NOT_RECEIVER port_name
doesn’t name receive rights
in task.
KERN_NOT_IN_SET The port isn’t a member of a set.
KERN_INVALID_ARGUMENT task was
invalid or port_name does
not name a valid port.
SEE ALSO
port_set_add(2)