1punycode_strerror(3)                libidn                punycode_strerror(3)
2
3
4

NAME

6       punycode_strerror - API function
7

SYNOPSIS

9       #include <punycode.h>
10
11       const char * punycode_strerror(Punycode_status rc);
12

ARGUMENTS

14       Punycode_status rc
15                   an Punycode_status return code.
16

DESCRIPTION

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

PUNYCODE_SUCCESS

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

PUNYCODE_BAD_INPUT

27       Input is invalid.
28

PUNYCODE_BIG_OUTPUT

30       Output would exceed the space provided.
31

PUNYCODE_OVERFLOW

33       Input needs wider integers to process.
34

RETURN VALUE

36       Returns a  pointer  to  a  statically  allocated  string  containing  a
37       description of the error with the return code rc.
38

REPORTING BUGS

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

SEE ALSO

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)
Impressum