summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2009-11-09 12:46:59 +0000
committerume <ume@FreeBSD.org>2009-11-09 12:46:59 +0000
commita9dc4dbb6208ebff265d4470aa4d32abe2907222 (patch)
tree8c49f7e4e5b83c1a5dd5a3167bddb097ea94216b /lib/libc/nls
parent916f88dc5a30d26b53dcd17f3f9e551bcba53e05 (diff)
downloadFreeBSD-src-a9dc4dbb6208ebff265d4470aa4d32abe2907222.zip
FreeBSD-src-a9dc4dbb6208ebff265d4470aa4d32abe2907222.tar.gz
Add NLS catalogs support to gai_strerror(3).
Controlled by NLS define.
Diffstat (limited to 'lib/libc/nls')
-rw-r--r--lib/libc/nls/C.msg36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/libc/nls/C.msg b/lib/libc/nls/C.msg
index b25e83f..2210df6 100644
--- a/lib/libc/nls/C.msg
+++ b/lib/libc/nls/C.msg
@@ -257,3 +257,39 @@ $ SIGUSR1
30 User defined signal 1
$ SIGUSR2
31 User defined signal 2
+$
+$ gai_strerror() support catalog
+$
+$set 3
+$ 1 (obsolete)
+1 Address family for hostname not supported
+$ EAI_AGAIN
+2 Temporary failure in name resolution
+$ EAI_BADFLAGS
+3 Invalid value for ai_flags
+$ EAI_FAIL
+4 Non-recoverable failure in name resolution
+$ EAI_FAMILY
+5 ai_family not supported
+$ EAI_MEMORY
+6 Memory allocation failure
+$ 7 (obsolete)
+7 No address associated with hostname
+$ EAI_NONAME
+8 hostname nor servname provided, or not known
+$ EAI_SERVICE
+9 servname not supported for ai_socktype
+$ EAI_SOCKTYPE
+10 ai_socktype not supported
+$ EAI_SYSTEM
+11 System error returned in errno
+$ EAI_BADHINTS
+12 Invalid value for hints
+$ EAI_PROTOCOL
+13 Resolved protocol is unknown
+$ EAI_OVERFLOW
+14 Argument buffer overflow
+$ 0
+32766 Success
+$ NL_MSGMAX
+32767 Unknown error
OpenPOWER on IntegriCloud