netdb.h 454 B

12345678910111213141516171819
  1. #ifndef _BITS_NETDB_H
  2. #define _BITS_NETDB_H
  3. #define EAI_BADFLAGS (-1)
  4. #define EAI_NONAME (-2)
  5. #define EAI_AGAIN (-3)
  6. #define EAI_FAIL (-4)
  7. #define EAI_NODATA (-5)
  8. #define EAI_FAMILY (-6)
  9. #define EAI_SOCKTYPE (-7)
  10. #define EAI_SERVICE (-8)
  11. #define EAI_ADDRFAMILY (-9)
  12. #define EAI_MEMORY (-10)
  13. #define EAI_SYSTEM (-11)
  14. #define EAI_OVERFLOW (-12)
  15. # define h_addr h_addr_list[0] /* Address, for backward compatibility.*/
  16. #endif /* _BITS_NETDB_H */