1tld_get_4z(3) libidn tld_get_4z(3)
2
3
4
6 tld_get_4z - API function
7
9 #include <tld.h>
10
11 int tld_get_4z(const uint32_t * in, char ** out);
12
14 const uint32_t * in
15 Zero terminated array of unicode code points to process.
16
17 char ** out Zero terminated ascii result string pointer.
18
20 Isolate the top-level domain of in and return it as an ASCII string in
21 out .
22
23 Return value: Return TLD_SUCCESS on success, or the corresponding
24 Tld_rc error code otherwise.
25
27 Report bugs to <bug-libidn@gnu.org>.
28 General guidelines for reporting bugs: http://www.gnu.org/gethelp/
29 GNU Libidn home page: http://www.gnu.org/software/libidn/
30
31
33 Copyright © 2002-2020 Simon Josefsson.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for libidn is maintained as a Texinfo manual.
40 If the info and libidn programs are properly installed at your site,
41 the command
42
43 info libidn
44
45 should give you access to the complete manual. As an alternative you
46 may obtain the manual from:
47
48 http://www.gnu.org/software/libidn/manual/
49
50libidn 1.36 tld_get_4z(3)