<pre>
<strong>struct mach_port_status</strong>
<strong>{</strong>
- <strong>natural_t</strong> <var>mps_pset_count</var><strong>;</strong>
+ <strong>mach_port_rights_t</strong> <var>mps_pset</var><strong>;</strong>
<strong>mach_port_seqno_t</strong> <var>mps_seqno</var><strong>;</strong>
<strong>mach_port_mscount_t</strong> <var>mps_mscount</var><strong>;</strong>
<strong>mach_port_msgcount_t</strong> <var>mps_qlimit</var><strong>;</strong>
<strong>mach_port_msgcount_t</strong> <var>mps_msgcount</var><strong>;</strong>
<strong>mach_port_rights_t</strong> <var>mps_sorights</var><strong>;</strong>
- <strong>mach_port_srights_t</strong> <var>mps_srights</var><strong>;</strong>
+ <strong>boolean_t</strong> <var>mps_srights</var><strong>;</strong>
<strong>boolean_t</strong> <var>mps_pdrequest</var><strong>;</strong>
<strong>boolean_t</strong> <var>mps_nsrequest</var><strong>;</strong>
<strong>unsigned int</strong> <var>mps_flags</var><strong>;</strong>
<dl>
<dt> <var>mps_pset</var>
<dd>
-Containing port set.
+Count of containing psets.
<p>
<dt> <var>mps_seqno</var>
<dd>
<p>
<dt> <var>mps_msgcount</var>
<dd>
-Upper limit for the number of messages that may be queued to the port
+ Upper limit for the number of messages that may be queued to the port
before the system blocks send operations.
<p>
- <dt> <var>mps_msgcount</var>
+<dt> <var>mps_msgcount</var>
<dd>
Number of messages currently queued on the port.
<p>
<dt> <var>mps_sorights</var>
<dd>
-How many send-once rights.
+ How many send-once rights.
<p>
<dt> <var>mps_srights</var>
<dd>
-Specifies whether or not send rights exist. Valid values are as follows:
- <dl>
- <p>
- <dt> MPS_FALSE
- <dd>
- No send rights currently in existence.
- <p>
- <dt> MPS_TRUE
- <dd>
- Send rights exist and no-more-senders notification is enabled.
- <p>
- <dt> MPS_UNKNOWN
- <dd>
- The port does not permit no-more-senders notification requests;
- consequently, the system does not know whether or not send rights
- exist.
- </dl>
+ Specifies whether or not send rights exist for the port (in this or any other task).
<p>
<dt> <var>mps_pdrequest</var>
<dd>
<p>
<dt> <var>mps_nsrequest</var>
<dd>
-True if no-senders requested.
- <p>
+ True if no-senders notification requested.
+ <p>
<dt> <var>mps_flags</var>
<dd>
Flags associated with the port.
The <strong>mach_port_status</strong> structure is used to provide
information about a port in response to an invocation of the
<strong>mach_port_get_attributes</strong> interface.
-<h3>NOTES</h3>
-<p>
-This structure is machine word length sensitive due
-to the presence of the port
-set name.
<h3>RELATED INFORMATION</h3>
<p>
Functions: