1idn2_strerror_name(3) libidn2 idn2_strerror_name(3)
2
3
4
6 idn2_strerror_name - API function
7
9 #include <idn2.h>
10
11 const char * idn2_strerror_name(int rc);
12
14 int rc return code from another libidn2 function.
15
17 Convert internal libidn2 error code to a string corresponding to inter‐
18 nal header file symbols. For example, idn2_strerror_name(IDN2_MALLOC)
19 will return the string "IDN2_MALLOC".
20
21 The caller must not attempt to de-allocate the returned string.
22
23 Return value: A string corresponding to error code symbol.
24
26 The full documentation for libidn2 is maintained as a Texinfo manual.
27 If the info and libidn2 programs are properly installed at your site,
28 the command
29
30 info libidn2
31
32 should give you access to the complete manual. As an alternative you
33 may obtain the manual from:
34
35 https://www.gnu.org/software/libidn/libidn2/manual/
36
37libidn2 2.3.1.48-1925 idn2_strerror_name(3)