Function - Set the target port's attributes.
kern_return_t mach_port_set_attributes
(ipc_space_t task,
mach_port_name_t name,
mach_port_flavor_t flavor,
mach_port_info_t port_info,
mach_msg_type_number_t port_info_count);
The mach_port_set_attributes function sets attributes of type flavor.
This interface is machine word length specific because of the port name parameter.
Functions: mach_port_allocate, mach_port_allocate_name, mach_port_get_attributes.
Data Structures: mach_port_limits.