Back to index

glibc  2.9
Functions
cthreads.c File Reference
#include <bits/libc-lock.h>
#include <errno.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

int weak_function cthread_keycreate (cthread_key_t *key)
int weak_function cthread_getspecific (cthread_key_t key, void **pval)
int weak_function cthread_setspecific (cthread_key_t key, void *val)
void * __libc_getspecific (cthread_key_t key)

Function Documentation

void* __libc_getspecific ( cthread_key_t  key)

Definition at line 60 of file cthreads.c.

{
  void *val;
  cthread_getspecific (key, &val);
  return val;
}

Here is the call graph for this function:

int weak_function cthread_getspecific ( cthread_key_t  key,
void **  pval 
)

Definition at line 37 of file cthreads.c.

{
  *pval = NULL;
  __set_errno (ENOSYS);
  return -1;
}

Here is the caller graph for this function:

int weak_function cthread_keycreate ( cthread_key_t *  key)

Definition at line 26 of file cthreads.c.

{
  __set_errno (ENOSYS);
 *key = -1;
  return -1;
}
int weak_function cthread_setspecific ( cthread_key_t  key,
void *  val 
)

Definition at line 49 of file cthreads.c.

{
  __set_errno (ENOSYS);
  return -1;
}