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 Report bugs to <help-libidn@gnu.org>.
27 General guidelines for reporting bugs: https://www.gnu.org/gethelp/
28 Libidn2 home page: https://www.gnu.org/software/libidn2/
29
30
32 Copyright © 2002-2022 Simon Josefsson.
33 Copying and distribution of this file, with or without modification,
34 are permitted in any medium without royalty provided the copyright no‐
35 tice and this notice are preserved.
36
38 The full documentation for libidn2 is maintained as a Texinfo manual.
39 If the info and libidn2 programs are properly installed at your site,
40 the command
41
42 info libidn2
43
44 should give you access to the complete manual. As an alternative you
45 may obtain the manual from:
46
47 https://www.gnu.org/software/libidn/libidn2/manual/
48
49libidn2 2.3.4 idn2_strerror_name(3)