Browse Source

- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)

hint from claudio@, ok millert@
OPENBSD_4_6
jasper 15 years ago
parent
commit
7ef0dfc367
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/netdb.h

+ 2
- 1
src/include/netdb.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: netdb.h,v 1.26 2009/05/07 16:32:53 jacekm Exp $ */
/* $OpenBSD: netdb.h,v 1.27 2009/06/02 16:47:50 jasper Exp $ */
/* /*
* ++Copyright++ 1980, 1983, 1988, 1993 * ++Copyright++ 1980, 1983, 1988, 1993
@ -186,6 +186,7 @@ struct protoent {
#define EAI_SYSTEM -11 /* system error (code indicated in errno) */ #define EAI_SYSTEM -11 /* system error (code indicated in errno) */
#define EAI_BADHINTS -12 /* invalid value for hints */ #define EAI_BADHINTS -12 /* invalid value for hints */
#define EAI_PROTOCOL -13 /* resolved protocol is unknown */ #define EAI_PROTOCOL -13 /* resolved protocol is unknown */
#define EAI_OVERFLOW -14 /* argument buffer overflow */
struct addrinfo { struct addrinfo {
int ai_flags; /* input flags */ int ai_flags; /* input flags */


Loading…
Cancel
Save