]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/man/mach_port_status.html
xnu-1228.tar.gz
[apple/xnu.git] / osfmk / man / mach_port_status.html
index 1e9b8d74e2ae606510a445e0b958e69271a9d218..99e5a8cd1d781c197bbe6315e06fc0d07766f3d5 100755 (executable)
@@ -6,13 +6,13 @@
 <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>
@@ -24,7 +24,7 @@
 <dl>
 <dt> <var>mps_pset</var>
 <dd>
-Containing port set.
+Count of containing psets.
      <p>
 <dt> <var>mps_seqno</var>
 <dd>
@@ -36,36 +36,20 @@ Current sequence number for the port.
               <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>
@@ -73,8 +57,8 @@ Specifies whether or not send rights exist.  Valid values are as follows:
      <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.
@@ -84,11 +68,6 @@ True if no-senders requested.
 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: