1219820Sjeff<h2>host_processor_slots</h2>
2219820Sjeff<hr>
3219820Sjeff<p>
4219820Sjeff<strong>Function</strong> - Return a list of numbers that map processor slots to active processors.
5219820Sjeff<h3>SYNOPSIS</h3>
6219820Sjeff<pre>
7219820Sjeff<strong>kern_return_t   host_processor_slots</strong>
8219820Sjeff                <strong>(host_t</strong>                                    <var>host</var>,
9219820Sjeff                 <strong>processor_slot_t</strong>                         <var>slots</var>,
10219820Sjeff                 <strong>host</strong>                                     <var>count</var><strong>);</strong>
11219820Sjeff</pre>
12219820Sjeff<h3>PARAMETERS</h3>
13219820Sjeff<dl>
14219820Sjeff<p>
15219820Sjeff<dt> <var>host</var> 
16219820Sjeff<dd>
17219820Sjeff[in host-name send right]
18219820SjeffThe name (or control) port for the host for 
19219820Sjeffwhich information is to be obtained.
20219820Sjeff<p>
21219820Sjeff<dt> <var>slots</var> 
22219820Sjeff<dd>
23219820Sjeff[out array of <var>processor_slot_t</var>]
24219820SjeffAn array of the processor slot numbers 
25219820Sjefffor active processors.
26219820Sjeff<p>
27219820Sjeff<dt> <var>count</var> 
28219820Sjeff<dd>
29219820Sjeff[pointer to in/out scalar]
30219820SjeffOn input, the maximum size of the slots
31219820Sjeffbuffer; on output, the number of returned slot numbers.
32</dl>
33<h3>DESCRIPTION</h3>
34<p>
35The <strong>host_processor_slots</strong> function returns an array
36of the processor slots
37defined for the host.
38<h3>RETURN VALUES</h3>
39<p>
40Only generic errors apply.
41<h3>RELATED INFORMATION</h3>
42<p>
43Functions:
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>.
47