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
28 Return TLD_SUCCESS on success, or the corresponding Tld_rc error code
29 otherwise.
30
32 Report bugs to <bug-libidn@gnu.org>. GNU Libidn home page:
33 http://www.gnu.org/software/libidn/ General help using GNU software:
34 http://www.gnu.org/gethelp/
35
37 Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Simon
38 Josefsson.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
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.
51
52
53
54libidn 1.18 tld_get_4(3)