diff options
author | ume <ume@FreeBSD.org> | 2006-05-21 11:22:31 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-05-21 11:22:31 +0000 |
commit | c49929798600cc98625b30e672dfe77235791a07 (patch) | |
tree | a82b4c284a5ddf2b821903c9504a21a50b34beb7 /lib/libc/net/gai_strerror.3 | |
parent | 2103e7a60f93b5663802fad9b458412411640d7c (diff) | |
download | FreeBSD-src-c49929798600cc98625b30e672dfe77235791a07.zip FreeBSD-src-c49929798600cc98625b30e672dfe77235791a07.tar.gz |
Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
too short. This conforms to RFC3493, POSIX and XPG6.
Obtained from: NetBSD
Diffstat (limited to 'lib/libc/net/gai_strerror.3')
-rw-r--r-- | lib/libc/net/gai_strerror.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/gai_strerror.3 b/lib/libc/net/gai_strerror.3 index 7c55030..51d0d07 100644 --- a/lib/libc/net/gai_strerror.3 +++ b/lib/libc/net/gai_strerror.3 @@ -63,6 +63,8 @@ memory allocation failure or .Fa servname not provided, or not known +.It Dv EAI_OVERFLOW +argument buffer overflow .It Dv EAI_PROTOCOL resolved protocol is unknown .It Dv EAI_SERVICE |