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
35 Return value: Returns a pointer to a statically allocated string con‐
36 taining a description of the error with the return code rc .
37
39 Report bugs to <bug-libidn@gnu.org>.
40 General guidelines for reporting bugs: http://www.gnu.org/gethelp/
41 GNU Libidn home page: http://www.gnu.org/software/libidn/
42
43
45 Copyright © 2002-2016 Simon Josefsson.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for libidn is maintained as a Texinfo manual.
52 If the info and libidn programs are properly installed at your site,
53 the command
54
55 info libidn
56
57 should give you access to the complete manual. As an alternative you
58 may obtain the manual from:
59
60 http://www.gnu.org/software/libidn/manual/
61
62libidn 1.34 punycode_strerror(3)