]>
Commit | Line | Data |
---|---|---|
9bccf70c | 1 | <h2>i386_get_ldt</h2>\r<hr>\r<p>\r<strong>Function</strong> - Return per-thread segment descriptors.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>kern_return_t i386_get_ldt</strong>\r <strong>(thread_act_t</strong> <var>target_act</var>,\r <strong>int</strong> <var>first_selector</var>,\r <strong>int</strong> <var>desired_count</var>,\r <strong>descriptor_list_t</strong> <var>desc_list</var><strong>);</strong>\r</pre>\r<h3>PARAMETERS</h3>\r<dl>\r<p>\r<dt> <var>target_act</var> \r<dd>\r[in thread send right]\rThread whose segment descriptors are to be\rreturned.\r<p>\r<dt> <var>first_selector</var>\r<dd>\r[in scalar] Selector value (segment register value) corresponding to the \rfirst segment whose descriptor is to be returned.\r<p>\r<dt> <var>desired_count</var> \r<dd>\r[in scalar]\rNumber of returned descriptors desired.\r<p>\r<dt> <var>desc_list</var> \r<dd>\r[out pointer to dynamic array of <strong>descriptor_t</strong>]\rArray of segment\rdescriptors.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>i386_get_ldt</strong> function returns per-thread segment\rdescriptors from the \rthread's local descriptor table (LDT).\r<h3>RETURN VALUES</h3>\r<p>\rOnly generic errors apply.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="i386_set_ldt.html"><strong>i386_set_ldt<strong></a>.\r |