1idna_strerror(3) libidn idna_strerror(3)
2
3
4
6 idna_strerror - return string describing idna error code
7
9 #include <idna.h>
10
11 const char * idna_strerror(Idna_rc rc);
12
14 Idna_rc rc an Idna_rc return code.
15
17 Convert a return code integer to a text string. This string can be
18 used to output a diagnostic message to the user.
19
21 Successful operation. This value is guaranteed to always be zero, the
22 remaining ones are only guaranteed to hold non-zero values, for logical
23 comparison purposes.
24
26 Error during string preparation.
27
29 Error during punycode operation.
30
32 For IDNA_USE_STD3_ASCII_RULES, indicate that the string contains
33 non-LDH ASCII characters.
34
36 For IDNA_USE_STD3_ASCII_RULES, indicate that the string contains a
37 leading or trailing hyphen-minus (U+002D).
38
40 The final output string is not within the (inclusive) range 1 to 63
41 characters.
42
44 The string does not contain the ACE prefix (for ToUnicode).
45
47 The ToASCII operation on output string does not equal the input.
48
50 The input contains the ACE prefix (for ToASCII).
51
53 Could not convert string in locale encoding.
54
56 Could not allocate buffer (this is typically a fatal error).
57
59 Could not dlopen the libcidn DSO (only used internally in libc).
60
62 Returns a pointer to a statically allocated string containing a
63 description of the error with the return code rc.
64
66 Report bugs to <bug-libidn@gnu.org>.
67
69 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
70 Permission is granted to make and distribute verbatim copies of this
71 manual provided the copyright notice and this permission notice are
72 preserved on all copies.
73
75 The full documentation for libidn is maintained as a Texinfo manual.
76 If the info and libidn programs are properly installed at your site,
77 the command
78
79 info libidn
80
81 should give you access to the complete manual.
82
83
84
85libidn 0.6.8 idna_strerror(3)