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