1tld_strerror(3)                     libidn                     tld_strerror(3)
2
3
4

NAME

6       tld_strerror - return string describing tld error code
7

SYNOPSIS

9       #include <tld.h>
10
11       const char * tld_strerror(Tld_rc rc);
12

ARGUMENTS

14       Tld_rc rc   tld return code
15

DESCRIPTION

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

TLD_SUCCESS

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

TLD_INVALID

26       Invalid character found.
27

TLD_NODATA

29       No input data was provided.
30

TLD_MALLOC_ERROR

32       Error during memory allocation.
33

TLD_ICONV_ERROR

35       Error during iconv string conversion.
36

TLD_NO_TLD

38       No top-level domain found in domain string.
39

RETURN VALUE

41       Returns a  pointer  to  a  statically  allocated  string  containing  a
42       description of the error with the return code rc.
43

REPORTING BUGS

45       Report bugs to <bug-libidn@gnu.org>.
46
48       Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
49       Permission  is  granted  to make and distribute verbatim copies of this
50       manual provided the copyright notice and  this  permission  notice  are
51       preserved on all copies.
52

SEE ALSO

54       The  full  documentation  for libidn is maintained as a Texinfo manual.
55       If the info and libidn programs are properly installed  at  your  site,
56       the command
57
58              info libidn
59
60       should give you access to the complete manual.
61
62
63
64libidn                               0.6.8                     tld_strerror(3)
Impressum