__h_errno_location.c 259 B

12345678910111213
  1. #define __FORCE_GLIBC
  2. #include <features.h>
  3. #include <netdb.h>
  4. #undef h_errno
  5. libc_hidden_proto(h_errno)
  6. libc_hidden_proto(__h_errno_location)
  7. int * weak_const_function __h_errno_location (void)
  8. {
  9. return &h_errno;
  10. }
  11. libc_hidden_weak(__h_errno_location)