.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "tld_get_z" 3 "1.42" "libidn" "libidn" .SH NAME tld_get_z \- API function .SH SYNOPSIS .B #include .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. Return value: Return \fBTLD_SUCCESS\fP on success, or the corresponding \fBTld_rc\fP error code otherwise. .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: https://www.gnu.org/gethelp/ .br GNU Libidn home page: https://www.gnu.org/software/libidn/ .SH COPYRIGHT Copyright \(co 2002-2024 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. As an alternative you may obtain the manual from: .IP .B https://www.gnu.org/software/libidn/manual/ .PP