Back to index

glibc  2.9
Functions
errno.c File Reference
#include <errno.h>
#include <netdb.h>
#include <resolv.h>
#include <tls.h>
#include "pthread.h"
#include "internals.h"

Go to the source code of this file.

Functions

int__errno_location (void)
int__h_errno_location (void)
struct __res_state__res_state (void)

Function Documentation

int* __errno_location ( void  )

Definition at line 27 of file errno.c.

{
  pthread_descr self = thread_self();
  return THREAD_GETMEM (self, p_errnop);
}
int* __h_errno_location ( void  )

Definition at line 34 of file errno.c.

{
  pthread_descr self = thread_self();
  return THREAD_GETMEM (self, p_h_errnop);
}
struct __res_state* __res_state ( void  ) [read]

Definition at line 42 of file errno.c.

{
  pthread_descr self = thread_self();
  return THREAD_GETMEM (self, p_resp);
}