1oath_strerror(3) liboath oath_strerror(3)
2
3
4
6 oath_strerror - API function
7
9 #include <oath.h>
10
11 const char * oath_strerror(int err);
12
14 int err liboath error code
15
17 Convert return code to human readable string explanation of the reason
18 for the particular error code.
19
20 This string can be used to output a diagnostic message to the user.
21
22 This function is one of few in the library that can be used without a
23 successful call to oath_init().
24
26 Returns a pointer to a statically allocated string containing an expla‐
27 nation of the error code err.
28
30 1.8.0
31
33 Report bugs to <oath-toolkit-help@nongnu.org>. liboath home page:
34 https://www.nongnu.org/oath-toolkit/ General help using GNU software:
35 http://www.gnu.org/gethelp/
36
38 Copyright © 2009-2020 Simon Josefsson.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright no‐
41 tice and this notice are preserved.
42
43
44
45liboath 2.6.9 oath_strerror(3)