1punycode_strerror(3) libidn punycode_strerror(3)
2
3
4
6 punycode_strerror - return string describing punycode error code
7
9 #include <punycode.h>
10
11 const char * punycode_strerror(Punycode_status rc);
12
14 Punycode_status rc
15 an Punycode_status return code.
16
18 Convert a return code integer to a text string. This string can be
19 used to output a diagnostic message to the user.
20
22 Successful operation. This value is guaranteed to always be zero, the
23 remaining ones are only guaranteed to hold non-zero values, for logical
24 comparison purposes.
25
27 Input is invalid.
28
30 Output would exceed the space provided.
31
33 Input needs wider integers to process.
34
36 Returns a pointer to a statically allocated string containing a
37 description of the error with the return code rc.
38
40 Report bugs to <bug-libidn@gnu.org>.
41
43 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
44 Permission is granted to make and distribute verbatim copies of this
45 manual provided the copyright notice and this permission notice are
46 preserved on all copies.
47
49 The full documentation for libidn is maintained as a Texinfo manual.
50 If the info and libidn programs are properly installed at your site,
51 the command
52
53 info libidn
54
55 should give you access to the complete manual.
56
57
58
59libidn 0.6.8 punycode_strerror(3)