1stringprep_strerror(3) libidn stringprep_strerror(3)
2
3
4
6 stringprep_strerror - return string describing stringprep error code
7
9 #include <stringprep.h>
10
11 const char * stringprep_strerror(Stringprep_rc rc);
12
14 Stringprep_rc rc
15 a Stringprep_rc return code.
16
18 Convert a return code integer to a text string. This string can be
19 used to output a diagnostic message to the user.
20
22 Successful operation. This value is guaranteed to always be zero, the
23 remaining ones are only guaranteed to hold non-zero values, for logical
24 comparison purposes.
25
27 String contain unassigned Unicode code points, which is forbidden by
28 the profile.
29
31 String contain code points prohibited by the profile.
32
34 String contain code points with conflicting bidirection category.
35
37 Leading and trailing character in string not of proper bidirectional
38 category.
39
41 Contains prohibited code points detected by bidirectional code.
42
44 Buffer handed to function was too small. This usually indicate a prob‐
45 lem in the calling application.
46
48 The stringprep profile was inconsistent. This usually indicate an
49 internal error in the library.
50
52 The supplied flag conflicted with profile. This usually indicate a
53 problem in the calling application.
54
56 The supplied profile name was not known to the library.
57
59 The Unicode NFKC operation failed. This usually indicate an internal
60 error in the library.
61
63 The malloc() was out of memory. This is usually a fatal error.
64
66 Returns a pointer to a statically allocated string containing a
67 description of the error with the return code rc.
68
70 Report bugs to <bug-libidn@gnu.org>.
71
73 Copyright © 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
74 Permission is granted to make and distribute verbatim copies of this
75 manual provided the copyright notice and this permission notice are
76 preserved on all copies.
77
79 The full documentation for libidn is maintained as a Texinfo manual.
80 If the info and libidn programs are properly installed at your site,
81 the command
82
83 info libidn
84
85 should give you access to the complete manual.
86
87
88
89libidn 0.6.8 stringprep_strerror(3)