DOKK / manpages / debian 10 / libidn2-dev / idn2_strerror.3.en
idn2_strerror(3) libidn2 idn2_strerror(3)

idn2_strerror - API function

#include <idn2.h>

const char * idn2_strerror(int rc);

return code from another libidn2 function.

Convert internal libidn2 error code to a humanly readable string. The returned pointer must not be de-allocated by the caller.

Return value: A humanly readable string describing error.

The full documentation for libidn2 is maintained as a Texinfo manual. If the info and libidn2 programs are properly installed at your site, the command

info libidn2

should give you access to the complete manual. As an alternative you may obtain the manual from:

http://www.gnu.org/software/libidn2/manual/
2.0.5 libidn2