1 <h2>mach_port_status
</h2>
4 <strong>Structure
</strong> - Used to present a port's current status with respect to various important attributes.
7 <strong>struct mach_port_status
</strong>
9 <strong>natural_t
</strong> <var>mps_pset_count
</var><strong>;
</strong>
10 <strong>mach_port_seqno_t
</strong> <var>mps_seqno
</var><strong>;
</strong>
11 <strong>mach_port_mscount_t
</strong> <var>mps_mscount
</var><strong>;
</strong>
12 <strong>mach_port_msgcount_t
</strong> <var>mps_qlimit
</var><strong>;
</strong>
13 <strong>mach_port_msgcount_t
</strong> <var>mps_msgcount
</var><strong>;
</strong>
14 <strong>mach_port_rights_t
</strong> <var>mps_sorights
</var><strong>;
</strong>
15 <strong>mach_port_srights_t
</strong> <var>mps_srights
</var><strong>;
</strong>
16 <strong>boolean_t
</strong> <var>mps_pdrequest
</var><strong>;
</strong>
17 <strong>boolean_t
</strong> <var>mps_nsrequest
</var><strong>;
</strong>
18 <strong>unsigned int
</strong> <var>mps_flags
</var><strong>;
</strong>
21 <strong>typedef struct mach_port_status mach_port_status_t;
</strong>
25 <dt> <var>mps_pset
</var>
29 <dt> <var>mps_seqno
</var>
31 Current sequence number for the port.
33 <dt> <var>mps_mscount
</var>
37 <dt> <var>mps_msgcount
</var>
39 Upper limit for the number of messages that may be queued to the port
40 before the system blocks send operations.
42 <dt> <var>mps_msgcount
</var>
44 Number of messages currently queued on the port.
46 <dt> <var>mps_sorights
</var>
48 How many send-once rights.
50 <dt> <var>mps_srights
</var>
52 Specifies whether or not send rights exist. Valid values are as follows:
57 No send rights currently in existence.
61 Send rights exist and no-more-senders notification is enabled.
65 The port does not permit no-more-senders notification requests;
66 consequently, the system does not know whether or not send rights
70 <dt> <var>mps_pdrequest
</var>
72 Specifies whether or not a port-deleted notification has been requested.
74 <dt> <var>mps_nsrequest
</var>
76 True if no-senders requested.
78 <dt> <var>mps_flags
</var>
80 Flags associated with the port.
84 The
<strong>mach_port_status
</strong> structure is used to provide
85 information about a port in response to an invocation of the
86 <strong>mach_port_get_attributes
</strong> interface.
89 This structure is machine word length sensitive due
90 to the presence of the port
92 <h3>RELATED INFORMATION
</h3>
95 <a href=
"mach_port_get_attributes.html"><strong>mach_port_get_attributes
</strong></a>.