idn_result_tostring(3)

πŸ“¦ version 2.3, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to idn_result_tostring(3) β€” the Library Functions Manual page that turns your error codes into actual words. πŸ’–

  • idn_result_tostring β€” return a string corresponding with an error code.

✨ SYNOPSIS ✨

#include <idn/result.h>

char *
idn_result_tostring(idn_result_t result);

πŸ’– DESCRIPTION πŸ’–

So the idn_result_tostring() function takes an error code result and returns a pointer to the corresponding message string. It’s giving β€œerror code, but make it readable”, and honestly? We love that. 🫢

Here’s the complete list of error codes β€” no skips, no cap:

  • idn_success β€” The call succeeded. Slay. βœ…
  • idn_notfound β€” Specified information does not exist.
  • idn_invalid_encoding β€” The encoding of the specified string is not valid.
  • idn_invalid_syntax β€” There is a syntax error in the configuration file.
  • idn_invalid_name β€” The specified name is not valid.
  • idn_invalid_message (obsolete) β€” Invalid message.
  • idn_invalid_action β€” The specified action value is not valid.
  • idn_invalid_codepoint β€” The specified string contains an invalid Unicode code point; U+0000, U+D800..U+DFFF (for representing a surrogate pair) or over U+10FFFF.
  • idn_buffer_overflow β€” The specified buffer is too small to hold the result.
  • idn_noentry β€” The specified key does not exist in a hash table.
  • idn_nomemory β€” malloc() or realloc() function returned NULL.
  • idn_nofile β€” The specified file cannot not be opened. πŸ™ˆ
  • idn_nomapping β€” A character does not have the mapping to the target character set.
  • idn_context_required (obsolete) β€” Context information required.
  • idn_prohcheck_error β€” IDN_PROHCHECK failed.
  • idn_prohibited (obsolete) β€” Same as idn_prohcheck_error.
  • idn_unascheck_error β€” IDN_UNASCHECK failed.
  • idn_nfccheck_error β€” IDN_NFCCHECK failed.
  • idn_prefcheck_error β€” IDN_PREFCHECK failed.
  • idn_hyphcheck_error β€” IDN_HYPHCHECK failed.
  • idn_combcheck_error β€” IDN_COMBCHECK failed.
  • idn_ctxjcheck_error β€” IDN_CTXJCHECK failed.
  • idn_ctxocheck_error β€” IDN_CTXOCHECK or IDN_CTXOLITECHECK failed.
  • idn_bidicheck_error β€” IDN_BIDICHECK failed.
  • idn_localcheck_error β€” IDN_LOCALCHECK failed.
  • idn_lencheck_error β€” IDN_LENCHECK failed.
  • idn_invalid_length (obsolete) β€” Same as idn_lencheck_error.
  • idn_rtcheck_error β€” IDN_RTCHECK failed.
  • idn_tr46check_error β€” IDN_TR46CHECK failed.
  • idn_neq β€” Not equivalent domain names. This error code is returned from idn_comparenames() and idn_comparenames2(). 😭
  • idn_failure β€” Generic error which is not covered by the above codes.

πŸ¦‹ SEE ALSO πŸ¦‹

Go click around, bestie β€” these are the iconically related pages:


Catch you later, bestie πŸ’– β€” this was idn_result_tostring(3) from the Library Functions Manual, dated Sep 21, 2012. Periodt. πŸŽ€

πŸ“¦ where this page comes from
  • nixos 26.05: idnkit 2.3
  • nixpkgs unstable: idnkit 2.3
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms