NAME
port_set_status - returns the members of a port set

SYNOPSIS
#include <mach.h>

kern_return_t port_set_status(task, set_name, members, membersCnt)
task_t task;
port_set_name_t set_name;
port_name_array_t *members; /* out array */
unsigned int *membersCnt; /* out */

ARGUMENTS
task The task whose port set is queried.

set_name task’s name for the port set.

members task’s names for the port set’s members.

membersCnt The number of port names returned.

DESCRIPTION
port_set_status returns the members of a port set. members is an
array that is automatically allocated when the reply message is
received. The user may wish to vm_deallocate it when the data is no
longer needed.

DIAGNOSTICS
KERN_SUCCESS The call succeeded.

KERN_INVALID_ARGUMENT task was invalid or set_name does not
name a valid port set.

SEE ALSO
port_status(2)