TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.22
Converts hostname to its canonical ASCII form; an ASCII-only string containing no uppercase letters and not ending with a trailing dot.
hostname
a valid UTF-8 or ASCII hostname
an ASCII hostname, which must be freed, or null if hostname is in some way invalid.
null
2.22
Converts
hostnameto its canonical ASCII form; an ASCII-only string containing no uppercase letters and not ending with a trailing dot.