osfmk/man/host_processor_sets.html
Function - Return a list of send rights representing all processor set name ports.
**kern\_return\_t host\_processor\_sets**** (host\_priv\_t **host\_priv,** processor\_set\_name\_port\_array\_t **processor\_set\_name\_list,** host\_priv **processor\_set\_name\_count** );**
host_priv[in host-control send right] The control port for the host for which the processor sets are desired.
processor_set_name_list[out pointer to dynamic array of processor-set-name send rights] The set of processor set name ports for those currently existing on host_priv; no particular order is guaranteed.
processor_set_name_count[out scalar] The number of processor set names returned.
The host_processor_sets function returns send rights for the name ports for each processor set currently existing on host.
If control ports to the processor sets are needed, use host_processor_set_priv.
Only generic errors apply.
Functions: host_processor_set_priv, processor_set_create, processor_set_tasks, processor_set_threads.