blob: 280f3c358fc5aa49494a0df137ecf917216288a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
.TH "tld_get_z" 3 "1.15" "libidn" "libidn"
.SH NAME
tld_get_z \- extract top level domain part in input string
.SH SYNOPSIS
.B #include <tld.h>
.sp
.BI "int tld_get_z(const char * " in ", char ** " out ");"
.SH ARGUMENTS
.IP "const char * in" 12
Zero terminated character array to process.
.IP "char ** out" 12
Zero terminated ascii result string pointer.
.SH "DESCRIPTION"
Isolate the top\-level domain of \fIin\fP and return it as an ASCII
string in \fIout\fP. The input string \fIin\fP may be UTF\-8, ISO\-8859\-1 or
any ASCII compatible character encoding.
.SH "RETURN VALUE"
Return \fBTLD_SUCCESS\fP on success, or the corresponding
\fBTld_rc\fP error code otherwise.
.SH "REPORTING BUGS"
Report bugs to <bug-libidn@gnu.org>.
GNU Libidn home page: http://www.gnu.org/software/libidn/
General help using GNU software: http://www.gnu.org/gethelp/
.SH COPYRIGHT
Copyright \(co 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson.
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
.SH "SEE ALSO"
The full documentation for
.B libidn
is maintained as a Texinfo manual. If the
.B info
and
.B libidn
programs are properly installed at your site, the command
.IP
.B info libidn
.PP
should give you access to the complete manual.
|