Function - Change the target port's make-send count.
kern_return_t mach_port_set_mscount (ipc_space_t task, mach_port_name_t name, mach_port_mscount_t mscount);
The mach_port_set_mscount function changes the make-send count of task's receive right named name. A port's make-send count specifies the number of send rights that have been generated via the port's receive right. A port's make-send count is set to zero when the port is first allocated; the count is reset to zero each time the port's receive right is transferred via a Mach message.
This interface is machine word length specific because of the port name parameter.
Functions: mach_port_get_attributes.