Back to index

glibc  2.9
Functions
libc-tls.c File Reference
#include <csu/libc-tls.c>
#include <dl-tls.h>

Go to the source code of this file.

Functions

void * __tls_get_addr (tls_index *ti)

Function Documentation

void* __tls_get_addr ( tls_index ti)

Definition at line 29 of file libc-tls.c.

{
  dtv_t *dtv = THREAD_DTV ();
  return (char *) dtv[1].pointer.val + ti->ti_offset;
}