1 <h2>host_processor_slots
</h2>
4 <strong>Function
</strong> - Return a list of numbers that map processor slots to active processors.
7 <strong>kern_return_t host_processor_slots
</strong>
8 <strong>(host_t
</strong> <var>host
</var>,
9 <strong>processor_slot_t
</strong> <var>slots
</var>,
10 <strong>host
</strong> <var>count
</var><strong>);
</strong>
17 [in host-name send right]
18 The name (or control) port for the host for
19 which information is to be obtained.
23 [out array of
<var>processor_slot_t
</var>]
24 An array of the processor slot numbers
25 for active processors.
29 [pointer to in/out scalar]
30 On input, the maximum size of the slots
31 buffer; on output, the number of returned slot numbers.
35 The
<strong>host_processor_slots
</strong> function returns an array
36 of the processor slots
38 <h3>RETURN VALUES
</h3>
40 Only generic errors apply.
41 <h3>RELATED INFORMATION
</h3>
44 <a href=
"host_info.html"><strong>host_info
</strong></a>,
45 <a href=
"host_processors.html"><strong>host_processors
</strong></a>,
46 <a href=
"processor_info.html"><strong>processor_info
</strong></a>.