File:  [DVB] / dietlibc / libpthread / pthread_dns_cruft.c
Revision 1.1: download - view: text, annotated - select for diffs
Mon Aug 18 17:32:53 2003 UTC (20 years, 9 months ago) by sanjiyan
Branches: MAIN
CVS tags: HEAD
- checkin of the new libpthread
- add confstr

#include "thread_internal.h"

#ifdef PTHREAD_HANDLE_DNS_CORRECT

int *__h_errno_location(void) {
  _pthread_descr td=__thread_self();
  return &(td->h_errno);
}

struct res_state*__res_location(void) {
  _pthread_descr td=__thread_self();
  return &(td->__res);
}

#endif

LinuxTV legacy CVS <linuxtv.org/cvs>