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

NAME

6       idna_to_ascii_lz - API function
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 lo‐
16                   cale'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 do‐
26       main name may contain several labels, separated by  dots.   The  output
27       buffer must be deallocated by the caller.
28
29       Return value: Returns IDNA_SUCCESS on success, or error code.
30

REPORTING BUGS

32       Report bugs to <help-libidn@gnu.org>.
33       General guidelines for reporting bugs: https://www.gnu.org/gethelp/
34       GNU Libidn home page: https://www.gnu.org/software/libidn/
35
36
38       Copyright © 2002-2022 Simon Josefsson.
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium without royalty provided the copyright  no‐
41       tice and this notice are preserved.
42

SEE ALSO

44       The  full  documentation  for libidn is maintained as a Texinfo manual.
45       If the info and libidn programs are properly installed  at  your  site,
46       the command
47
48              info libidn
49
50       should  give  you access to the complete manual.  As an alternative you
51       may obtain the manual from:
52
53              https://www.gnu.org/software/libidn/manual/
54
55libidn                               1.41                  idna_to_ascii_lz(3)
Impressum