4 <strong>Function
</strong> - Return per-thread segment descriptors.
7 <strong>kern_return_t i386_get_ldt
</strong>
8 <strong>(thread_act_t
</strong> <var>target_act
</var>,
9 <strong>int
</strong> <var>first_selector
</var>,
10 <strong>int
</strong> <var>desired_count
</var>,
11 <strong>descriptor_list_t
</strong> <var>desc_list
</var><strong>);
</strong>
16 <dt> <var>target_act
</var>
18 [in thread send right]
19 Thread whose segment descriptors are to be
22 <dt> <var>first_selector
</var>
24 [in scalar] Selector value (segment register value) corresponding to the
25 first segment whose descriptor is to be returned.
27 <dt> <var>desired_count
</var>
30 Number of returned descriptors desired.
32 <dt> <var>desc_list
</var>
34 [out pointer to dynamic array of
<strong>descriptor_t
</strong>]
40 The
<strong>i386_get_ldt
</strong> function returns per-thread segment
42 thread's local descriptor table (LDT).
43 <h3>RETURN VALUES
</h3>
45 Only generic errors apply.
46 <h3>RELATED INFORMATION
</h3>
49 <a href=
"i386_set_ldt.html"><strong>i386_set_ldt
<strong></a>.