aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/getaddrinfo.342
1 files changed, 21 insertions, 21 deletions
diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 266b2a6f06..188e5f54e1 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -293,16 +293,31 @@ for the dynamically allocated linked list
.BR getaddrinfo (3)
returns 0 if it succeeds, or one of the following non-zero error codes:
.TP
-.B EAI_FAMILY
-The requested address family is not supported at all.
+.B EAI_ADDRFAMILY
+The specified network host does not have any network addresses in the
+requested address family.
.TP
-.B EAI_SOCKTYPE
-The requested socket type is not supported at all.
+.B EAI_AGAIN
+The name server returned a temporary failure indication.
+Try again later.
.TP
.B EAI_BADFLAGS
.I ai_flags
contains invalid flags.
.TP
+.B EAI_FAIL
+The name server returned a permanent failure indication.
+.TP
+.B EAI_FAMILY
+The requested address family is not supported at all.
+.TP
+.B EAI_MEMORY
+Out of memory.
+.TP
+.B EAI_NODATA
+The specified network host exists, but does not have any
+network addresses defined.
+.TP
.B EAI_NONAME
The
.I node
@@ -324,23 +339,8 @@ was not a numeric port-number string.
The requested service is not available for the requested socket type.
It may be available through another socket type.
.TP
-.B EAI_ADDRFAMILY
-The specified network host does not have any network addresses in the
-requested address family.
-.TP
-.B EAI_NODATA
-The specified network host exists, but does not have any
-network addresses defined.
-.TP
-.B EAI_MEMORY
-Out of memory.
-.TP
-.B EAI_FAIL
-The name server returned a permanent failure indication.
-.TP
-.B EAI_AGAIN
-The name server returned a temporary failure indication.
-Try again later.
+.B EAI_SOCKTYPE
+The requested socket type is not supported at all.
.TP
.B EAI_SYSTEM
Other system error, check