1tld_get_4(3) libidn tld_get_4(3)
2
3
4
6 tld_get_4 - extract top level domain part in input Unicode string
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>.
33
35 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
36 Permission is granted to make and distribute verbatim copies of this
37 manual provided the copyright notice and this permission notice are
38 preserved on all copies.
39
41 The full documentation for libidn is maintained as a Texinfo manual.
42 If the info and libidn programs are properly installed at your site,
43 the command
44
45 info libidn
46
47 should give you access to the complete manual.
48
49
50
51libidn 0.6.8 tld_get_4(3)