norma_port_location_hint.html   [plain text]

<strong>Function</strong> - Guess a port's current location.
<strong>kern_return_t   norma_port_location_hint</strong>
                <strong>(task_t</strong>                                    <var>task</var>,
                 <strong>mach_port_t</strong>                               <var>name</var>,
                 <strong>int</strong>                                       <var>node</var><strong>);</strong>
<dt> <var>task</var> 
[in task send right]
Task containing the right to locate
<dt> <var>name</var> 
[in scalar]
Name of the right to locate
<dt> <var>node</var> 
[out scalar]
Port location hint
The <strong>norma_port_location_hint</strong> function returns the best
guess of <var>name</var>'s
current location.  The hint is guaranteed to be a node where
the port once was; it is 
guaranteed to be accurate if port has never moved.  This can be used to
determine residence node for hosts, tasks, threads, etc.
Only generic errors apply.
<a href="norma_task_create.html"><strong>norma_task_create</strong></a>.