1punycode_strerror(3) libidn punycode_strerror(3)
2
3
4
6 punycode_strerror - API function
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>. GNU Libidn home page:
41 http://www.gnu.org/software/libidn/ General help using GNU software:
42 http://www.gnu.org/gethelp/
43
45 Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
46 Josefsson.
47 Copying and distribution of this file, with or without modification,
48 are permitted in any medium without royalty provided the copyright
49 notice and this notice are preserved.
50
52 The full documentation for libidn is maintained as a Texinfo manual.
53 If the info and libidn programs are properly installed at your site,
54 the command
55
56 info libidn
57
58 should give you access to the complete manual.
59
60
61
62libidn 1.18 punycode_strerror(3)