]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/DMN_port_destroyed.html
xnu-344.tar.gz
[apple/xnu.git] / osfmk / man / DMN_port_destroyed.html
CommitLineData
9bccf70c 1<h2>do_mach_notify_port_destroyed</h2>\r<hr>\r<p>\r<strong>Server Interface</strong> - Handle the current instance of a port-destroyed notification.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t do_mach_notify_port_destroyed</strong>\r <strong>(notify_port_t</strong> <var>notify</var>,\r <strong>mach_port_receive_t</strong> <var>name</var><strong>);</strong>\r\r\r<strong>kern_return_t do_seqnos_mach_notify_port_destroyed</strong>\r <strong>(mach_port_t</strong> <var>notify</var>,\r <strong>mach_port_seqno_t</strong> <var>seqno</var>,\r <strong>mach_port_receive_t</strong> <var>name</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>notify</var> \r<dd>\r[in notify (receive) right]\rThe port to which the notification was sent.\r<p>\r<dt> <var>seqno</var> \r<dd>\r[in scalar]\rThe sequence number of this message relative to the\rnotification port.\r<p>\r<dt> <var>name</var> \r<dd>\r[in scalar]\rThe invalid name.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rA <strong>do_mach_notify_port_destroyed</strong> function is called by\r<strong>notify_server</strong> as the\rresult of a kernel message indicating that a receive right would have\rbeen destroyed. <var>notify</var> is the port named via \r<strong>mach_port_request_notification</strong> or <strong>mach_msg</strong>.\r<h3>NOTES</h3>\r<p>\rThis interface is machine word length specific because of the port name\rparameter.\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="notify_server.html"><strong>notify_server</strong></a>,\r<a href="seqnos_notify_server.html"><strong>seqnos_notify_server</strong></a>,\r<a href="mach_msg.html"><strong>mach_msg</strong></a>,\r<a href="MP_request_notification.html"><strong>mach_port_request_notification</strong></a>,\r<a href="do_mach_notify_dead_name.html"><strong>do_mach_notify_dead_name</strong></a>,\r<a href="do_mach_notify_no_senders.html"><strong>do_mach_notify_no_senders</strong></a>,\r<a href="do_mach_notify_send_once.html"><strong>do_mach_notify_send_once</strong></a>.\r