.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "idna_to_ascii_lz" 3 "1.42" "libidn" "libidn" .SH NAME idna_to_ascii_lz \- API function .SH SYNOPSIS .B #include .sp .BI "int idna_to_ascii_lz(const char * " input ", char ** " output ", int " flags ");" .SH ARGUMENTS .IP "const char * input" 12 zero terminated input string encoded in the current locale's character set. .IP "char ** output" 12 pointer to newly allocated output string. .IP "int flags" 12 an \fBIdna_flags\fP value, e.g., \fBIDNA_ALLOW_UNASSIGNED\fP or \fBIDNA_USE_STD3_ASCII_RULES\fP. .SH "DESCRIPTION" Convert domain name in the locale's encoding to ASCII string. The domain name may contain several labels, separated by dots. The output buffer must be deallocated by the caller. Return value: Returns \fBIDNA_SUCCESS\fP on success, or error code. .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