summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getaddrinfo.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit51fe7c1a888747c57136cc34ec54a93a0487b745 (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/net/getaddrinfo.3
parent3424a53ebeadf7ab320c37cf93702953cee94efe (diff)
downloadFreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.zip
FreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.tar.gz
mdoc(7) police: "The .Fa argument.".
Diffstat (limited to 'lib/libc/net/getaddrinfo.3')
-rw-r--r--lib/libc/net/getaddrinfo.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index 4dbd771..f8c8f57 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -342,9 +342,10 @@ To return this information to the system the function
.Fn freeaddrinfo
is called.
The
-.Fa addrinfo
+.Vt addrinfo
structure pointed to by the
-.Fa ai argument
+.Fa ai
+argument
is freed, along with any dynamic storage pointed to by the structure.
This operation is repeated until a
.Dv NULL
@@ -531,7 +532,9 @@ Invalid value for
.It Dv EAI_FAIL
Non-recoverable failure in name resolution.
.It Dv EAI_FAMILY
+The
.Fa ai_family
+address family is
not supported.
.It Dv EAI_MEMORY
Memory allocation failure.
@@ -539,16 +542,21 @@ Memory allocation failure.
No address associated with
.Fa nodename .
.It Dv EAI_NONAME
+Neither
.Fa nodename
nor
.Fa servname
provided, or not known.
.It Dv EAI_SERVICE
+The
.Fa servname
+service name is
not supported for
.Fa ai_socktype .
.It Dv EAI_SOCKTYPE
+The
.Fa ai_socktype
+socket type is
not supported.
.It Dv EAI_SYSTEM
System error returned in
OpenPOWER on IntegriCloud