tld_get_z(3)
β¨ NAME β¨
tld_get_z β it's an API function, bestie π
(from the libidn manual, section 3, iykyk)
π¦ SYNOPSIS π¦
#include <tld.h>
int tld_get_z(const char * in, char ** out);
π ARGUMENTS π
const char * inβ a zero terminated character array that we're gonna process, okay? like, that's the whole vibe.char ** outβ a pointer to a zero terminated ascii result string. it's where the answer goes. main character energy, honestly.
π DESCRIPTION π
Okay so here's the tea β: tld_get_z isolates the top-level domain of in and hands it back to you as an ASCII string in out. slay.
And the input string in? She's flexible, fr fr β it can be UTF-8, ISO-8859-1, or literally any ASCII compatible character encoding. she does not discriminate. periodt. π
Return value: it gives you back TLD_SUCCESS when everything's cute and good, or the corresponding Tld_rc error code if it's not. no cap.
π REPORTING BUGS π
Found a bug? Not the vibe, but tell someone! Report bugs to <help-libidn@gnu.org>.
General guidelines for reporting bugs live over at https://www.gnu.org/gethelp/ β go read them, bestie π«Ά
GNU Libidn home page: https://www.gnu.org/software/libidn/ β¨
π COPYRIGHT π
Copyright Β© 2002-2026 Simon Josefsson.
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. that's it, that's the rule, respect it π
π SEE ALSO π
The full documentation for libidn is maintained as a Texinfo manual. If the info and libidn programs are properly installed at your site, the command
info libidn
should give you access to the complete manual. π¦ iconique.
As an alternative you may obtain the manual from:
https://www.gnu.org/software/libidn/manual/
okay that's the whole page, mwah π this was tld_get_z(3) from the libidn manual, version 1.44, and yeah it really does say that up top and down at the bottom β consider yourself told, bestie πβ¨π
π¦ where this page comes from
- arch rolling: libidn 1.44-1 Β· GPL3 AND LGPL
- epel 10: libidn-devel 1.44-1.el10_3 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 43: libidn-devel 1.44-1.fc43 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 43: libidn-devel 1.44-1.fc43 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: libidn-devel 1.44-1.fc44 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- fedora 44: libidn-devel 1.44-1.fc44 Β· (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later AND GFDL-1.3-or-later
- ubuntu stonking: libidn-dev 1.44-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms