summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-02 16:47:51 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-06-02 16:47:51 +0000
commitcaba12193a3fbed4b1793760f627ce31a39716f3 (patch)
treedb2d59292178f2e2b38f1d3a2cb7e2833730f556 /include/netdb.h
parent58851ae693519dcd8aa528c983c462a1ccd5fa01 (diff)
- define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13)
hint from claudio@, ok millert@
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 9d4ee531e17..4c1a738d729 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -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
@@ -186,6 +186,7 @@ struct protoent {
#define EAI_SYSTEM -11 /* system error (code indicated in errno) */
#define EAI_BADHINTS -12 /* invalid value for hints */
#define EAI_PROTOCOL -13 /* resolved protocol is unknown */
+#define EAI_OVERFLOW -14 /* argument buffer overflow */
struct addrinfo {
int ai_flags; /* input flags */