sys_get_thread_area [kernel/process.c]
Gets a Thread Local Storage (TLS) area. Arguments
eax | 244
ebx | Pointer to a user_desc structure which will receive the information:
`struc user_desc { entry_number rd 1 base_addr rd 1 limit rd 1 bitfield rd 1 ; seg_32bit :1 ; contents :2 ; read_exec_only :1 ; limit_in_pages :1 ; seg_not_present :1 ; useable :1 }`
`user_desc members: entry_number` `Should be properly initialized to the index of a entry prior to calling this system call.`
Return values If the system call succeeds the return value is 0. If the system call fails the return value is one of the following errno values:
`-EINVAL` | `ebx is an invalid pointer.`
`-EFAULT` | `entry_number is out of bounds.`
Remarks n/a Compatibility n/a