summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-11-25 05:37:22 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-11-25 05:37:22 +0000
commit420dad7ae09b557d6d7cadd6cbdcd5e02d65fde3 (patch)
tree991f7670b31a4704fa005b925bcccf0b6fe52319
parentd5da3c8df1bdfd6e1b93f59d9843a5db3e29ad41 (diff)
Added FIXME.
-rw-r--r--man3/getnameinfo.311
1 files changed, 11 insertions, 0 deletions
diff --git a/man3/getnameinfo.3 b/man3/getnameinfo.3
index c027807d..14b48693 100644
--- a/man3/getnameinfo.3
+++ b/man3/getnameinfo.3
@@ -110,6 +110,17 @@ IDNA_USE_STD3_ASCII_RULES (check output to make sure it is a STD3
conforming host name)
flags respectively to be used in the IDNA handling.
.SH "RETURN VALUE"
+.\" FIXME glibc defines the following additional errors, some which
+.\" can probably be returned by getnameinfo(); they need to
+.\" be documented.
+.\" # ifdef __USE_GNU
+.\" # define EAI_INPROGRESS -100 /* Processing request in progress. */
+.\" # define EAI_CANCELED -101 /* Request canceled. */
+.\" # define EAI_NOTCANCELED -102 /* Request not canceled. */
+.\" # define EAI_ALLDONE -103 /* All requests done. */
+.\" # define EAI_INTR -104 /* Interrupted by a signal. */
+.\" # define EAI_IDN_ENCODE -105 /* IDN encoding failed. */
+.\" # endif
On success 0 is returned, and node and service names, if requested,
are filled with null-terminated strings, possibly truncated to fit
the specified buffer lengths.