tld_get_z.3   [plain text]


.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "tld_get_z" 3 "0.6.14" "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>.
.SH COPYRIGHT
Copyright \(co 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.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.