1idna_to_ascii_lz(3)                 libidn                 idna_to_ascii_lz(3)
2
3
4

NAME

6       idna_to_ascii_lz - convert Unicode domain name label to text
7

SYNOPSIS

9       #include <idna.h>
10
11       int idna_to_ascii_lz(const char * input, char ** output, int flags);
12

ARGUMENTS

14       const char * input
15                   zero   terminated  input  string  encoded  in  the  current
16                   locale's character set.
17
18       char ** output
19                   pointer to newly allocated output string.
20
21       int flags   an  Idna_flags  value,   e.g.,   IDNA_ALLOW_UNASSIGNED   or
22                   IDNA_USE_STD3_ASCII_RULES.
23

DESCRIPTION

25       Convert  domain  name  in  the  locale's encoding to ASCII string.  The
26       domain name may contain several labels, separated by dots.  The  output
27       buffer must be deallocated by the caller.
28

RETURN VALUE

30       Returns IDNA_SUCCESS on success, or error code.
31

REPORTING BUGS

33       Report bugs to <bug-libidn@gnu.org>.
34
36       Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
37       Permission  is  granted  to make and distribute verbatim copies of this
38       manual provided the copyright notice and  this  permission  notice  are
39       preserved on all copies.
40

SEE ALSO

42       The  full  documentation  for libidn is maintained as a Texinfo manual.
43       If the info and libidn programs are properly installed  at  your  site,
44       the command
45
46              info libidn
47
48       should give you access to the complete manual.
49
50
51
52libidn                               0.6.8                 idna_to_ascii_lz(3)
Impressum