1 <!doctype html public
"-//w3c//dtd html 4.0 transitional//en">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
5 <meta name=
"GENERATOR" content=
"Mozilla/4.73 (Macintosh; U; PPC) [Netscape]">
6 <title>mach_port_insert_member.html
</title>
11 mach_port_move_member
</h2>
14 <p><b>Function
</b> - Move the specified receive right into or out of the
19 <pre><b>kern_return_t
mach_port_move_member
20 </b> <b>(ipc_space_t
</b> <i>task
</i>,
21 <b>mach_port_name_t
</b> <i>member
</i>,
22 <b>mach_port_name_t
</b> <i>after
</i><b>);
</b></pre>
32 [in task send right] The task holding the port set and receive right.
</dd>
38 [in scalar] The task's name for the receive right.
</dd>
44 [in scalar] The task's name for the port set.
</dd>
49 The
<b>mach_port_move_member
</b> function moves a receive right into a
50 port set. If the receive right is already a member of any other port sets,
51 it is removed from those sets first. If the port set is
<b>MACH_PORT_NULL
</b>,
52 then the receive right is not put into a port set, but removed from all
53 its current port sets.
56 This interface is machine word length specific because of the port name
63 <b>KERN_INVALID_NAME
</b></dt>
66 <i>member
</i> or
<i>after
</i> did not denote a right.
</dd>
69 <b>KERN_INVALID_RIGHT
</b></dt>
72 <i>member
</i> denoted a right, but not a receive right, or
<i>after
</i>
73 denoted a right, but not a port set.
</dd>
76 <b>KERN_NOT_IN_SET
</b></dt>
79 <i>after
</i> was
<b>MACH_PORT_NULL
</b>, but
<i>member
</i> wasn't currently
84 RELATED INFORMATION
</h3>
88 <b><a href=
"../HTML/mach_port_insert_member.html">mach_port_insert_member
</a></b>,
89 <b><a href=
"../HTML/mach_port_extract_member.html">mach_port_extract_member
</b></a>,
90 <b><a href=
"../HTML/mach_port_get_set_status.html">mach_port_get_set_status
</a></b>,
91 <b><a href=
"../HTML/mach_port_get_attributes.html">mach_port_get_attributes
</a></b>.