pr29_strerror(3)
β¨ pr29_strerror(3) β¨
okay bestie, so this one lives in libidn and it's called pr29_strerror β it's giving "translate the error code into words so a human can actually read it" π
πΈ SYNOPSIS πΈ
#include <pr29.h>
const char * pr29_strerror(Pr29_rc rc);
π ARGUMENTS π
Pr29_rc rcβ aPr29_rcreturn code, bestie. that's the thing you're about to turn into a sentence π«Ά
π DESCRIPTION π
so basically this function takes a return code integer and converts it into a text string. no cap. and what's that string for? for outputting a diagnostic message to the user β like, you got an error, here's the error, in actual words π
β PR29_SUCCESS β
Successful operation, slay π this value is guaranteed to always be zero, and the remaining ones are only guaranteed to hold non-zero values β purely for logical comparison purposes, iykyk.
π PR29_PROBLEM π
A problem sequence was encountered. not the vibe, but at least you know now.
π PR29_STRINGPREP_ERROR π
The character set conversion failed β and heads up, this one's only for pr29_8z() π
Return value: Returns a pointer to a statically allocated string containing a description of the error with the return code rc.
π₯ REPORTING BUGS π₯
found a bug? not you being the main character of quality assurance π
report it to <help-libidn@gnu.org>.
general guidelines for reporting bugs are over here: https://www.gnu.org/gethelp/
and the GNU Libidn home page, iconic as always: 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. periodt β¨
π¦ SEE ALSO π¦
the full documentation for libidn is maintained as a Texinfo manual, and if the info and libidn programs are properly installed at your site, this command:
info libidn
should give you access to the complete manual. obsessed π₯°
as an alternative, you may obtain the manual from:
https://www.gnu.org/software/libidn/manual/
and that's the whole page, bestie β this one's from libidn 1.44, mwah π go forth and strerror responsibly π
π¦ 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