osfmk/man/mach_port_status.html
Structure - Used to present a port's current status with respect to various important attributes.
**struct mach\_port\_status**** { ****mach\_port\_rights\_t** mps\_pset **;**** mach\_port\_seqno\_t **mps\_seqno** ; ****mach\_port\_mscount\_t** mps\_mscount **;**** mach\_port\_msgcount\_t **mps\_qlimit** ; ****mach\_port\_msgcount\_t** mps\_msgcount **;**** mach\_port\_rights\_t **mps\_sorights** ; ****boolean\_t** mps\_srights **;**** boolean\_t **mps\_pdrequest** ; ****boolean\_t** mps\_nsrequest **;**** unsigned int **mps\_flags** ; ****};**** typedef struct mach\_port\_status mach\_port\_status\_t;**
mps_psetCount of containing psets.
mps_seqnoCurrent sequence number for the port.
mps_mscount Make-send count.
mps_msgcount Upper limit for the number of messages that may be queued to the port before the system blocks send operations.
mps_msgcount Number of messages currently queued on the port.
mps_sorights How many send-once rights.
mps_srights Specifies whether or not send rights exist for the port (in this or any other task).
mps_pdrequest Specifies whether or not a port-deleted notification has been requested.
mps_nsrequest True if no-senders notification requested.
mps_flags Flags associated with the port.
The mach_port_status structure is used to provide information about a port in response to an invocation of the mach_port_get_attributes interface.
Functions: mach_port_get_attributes.