summaryrefslogtreecommitdiff
path: root/doc/texi/tld_get_4z.texi
blob: e241079748f2194d1218cf7cd1086145e0abb7be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@subheading tld_get_4z
@anchor{tld_get_4z}
@deftypefun {int} {tld_get_4z} (const uint32_t * @var{in}, char ** @var{out})
@var{in}: Zero terminated array of unicode code points to process.

@var{out}: Zero terminated ascii result string pointer.

Isolate the top-level domain of @code{in} and return it as an ASCII
string in @code{out}.

@strong{Return value:} Return @code{TLD_SUCCESS} on success, or the corresponding
@code{Tld_rc} error code otherwise.
@end deftypefun