1pskc_strerror_name(3) libpskc pskc_strerror_name(3)
2
3
4
6 pskc_strerror_name - API function
7
9 #include <pskc.h>
10
11 const char * pskc_strerror_name(int err);
12
14 int err error code, a pskc_rc value.
15
17 Convert return code to human readable string representing the error
18 code symbol itself. For example, pskc_strerror_name(PSKC_OK) returns
19 the string "PSKC_OK".
20
21 This string can be used to output a diagnostic message to the user.
22
23 This function is one of few in the library that can be used without a
24 successful call to pskc_init().
25
27 Returns a pointer to a statically allocated string containing a string
28 version of the error code err, or NULL if the error code is not known.
29
31 Report bugs to <oath-toolkit-help@nongnu.org>. libpskc home page:
32 http://www.gnu.org/software/libpskc/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2012-2016 Simon Josefsson.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
41
42
43libpskc 2.6.2 pskc_strerror_name(3)