1pskc_strerror(3)                    libpskc                   pskc_strerror(3)
2
3
4

NAME

6       pskc_strerror - API function
7

SYNOPSIS

9       #include <pskc.h>
10
11       const char * pskc_strerror(int err);
12

ARGUMENTS

14       int err     error code, a pskc_rc value.
15

DESCRIPTION

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 pskc_init().
24

RETURN VALUE

26       Returns a pointer to a statically allocated string containing an expla‐
27       nation of the error code err.
28

REPORTING BUGS

30       Report bugs  to  <oath-toolkit-help@nongnu.org>.   libpskc  home  page:
31       https://www.nongnu.org/oath-toolkit/  General  help using GNU software:
32       http://www.gnu.org/gethelp/
33
35       Copyright © 2012-2020 Simon Josefsson.
36       Copying and distribution of this file, with  or  without  modification,
37       are  permitted in any medium without royalty provided the copyright no‐
38       tice and this notice are preserved.
39
40
41
42libpskc                              2.6.7                    pskc_strerror(3)
Impressum