mirror of
https://github.com/darlinghq/darling-xnu.git
synced 2025-02-18 12:20:24 +00:00
60 lines
2.2 KiB
HTML
60 lines
2.2 KiB
HTML
<h2>do_mach_notify_port_destroyed</h2>
|
|
<hr>
|
|
<p>
|
|
<strong>Server Interface</strong> - Handle the current instance of a port-destroyed notification.
|
|
<h3>SYNOPSIS</h3>
|
|
<pre>
|
|
<strong>kern_return_t do_mach_notify_port_destroyed</strong>
|
|
<strong>(notify_port_t</strong> <var>notify</var>,
|
|
<strong>mach_port_receive_t</strong> <var>name</var><strong>);</strong>
|
|
|
|
|
|
<strong>kern_return_t do_seqnos_mach_notify_port_destroyed</strong>
|
|
<strong>(mach_port_t</strong> <var>notify</var>,
|
|
<strong>mach_port_seqno_t</strong> <var>seqno</var>,
|
|
<strong>mach_port_receive_t</strong> <var>name</var><strong>);</strong>
|
|
</pre>
|
|
<h3>PARAMETERS</h3>
|
|
<dl>
|
|
<p>
|
|
<dt> <var>notify</var>
|
|
<dd>
|
|
[in notify (receive) right]
|
|
The port to which the notification was sent.
|
|
<p>
|
|
<dt> <var>seqno</var>
|
|
<dd>
|
|
[in scalar]
|
|
The sequence number of this message relative to the
|
|
notification port.
|
|
<p>
|
|
<dt> <var>name</var>
|
|
<dd>
|
|
[in scalar]
|
|
The invalid name.
|
|
</dl>
|
|
<h3>DESCRIPTION</h3>
|
|
<p>
|
|
A <strong>do_mach_notify_port_destroyed</strong> function is called by
|
|
<strong>notify_server</strong> as the
|
|
result of a kernel message indicating that a receive right would have
|
|
been destroyed. <var>notify</var> is the port named via
|
|
<strong>mach_port_request_notification</strong> or <strong>mach_msg</strong>.
|
|
<h3>NOTES</h3>
|
|
<p>
|
|
This interface is machine word length specific because of the port name
|
|
parameter.
|
|
<h3>RETURN VALUES</h3>
|
|
<p>
|
|
Only generic errors apply.
|
|
<h3>RELATED INFORMATION</h3>
|
|
<p>
|
|
Functions:
|
|
<a href="notify_server.html"><strong>notify_server</strong></a>,
|
|
<a href="seqnos_notify_server.html"><strong>seqnos_notify_server</strong></a>,
|
|
<a href="mach_msg.html"><strong>mach_msg</strong></a>,
|
|
<a href="MP_request_notification.html"><strong>mach_port_request_notification</strong></a>,
|
|
<a href="do_mach_notify_dead_name.html"><strong>do_mach_notify_dead_name</strong></a>,
|
|
<a href="do_mach_notify_no_senders.html"><strong>do_mach_notify_no_senders</strong></a>,
|
|
<a href="do_mach_notify_send_once.html"><strong>do_mach_notify_send_once</strong></a>.
|