pskc\_strerror(3) libpskc pskc\_strerror(3)

# [NAME](#NAME)

pskc\_strerror - API function

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;pskc.h&gt;**

**const char * pskc\_strerror(int err);**

# [ARGUMENTS](#ARGUMENTS)

[int err](#int)

error code, a **pskc\_rc** value.

# [DESCRIPTION](#DESCRIPTION)

Convert return code to human readable string explanation of the reason for the particular error code.

This string can be used to output a diagnostic message to the user.

This function is one of few in the library that can be used without a successful call to **pskc\_init()**.

# [RETURN VALUE](#RETURN_VALUE)

Returns a pointer to a statically allocated string containing an explanation of the error code *err*.

# [REPORTING BUGS](#REPORTING_BUGS)

Report bugs to &lt;oath-toolkit-help@nongnu.org&gt;. libpskc home page: https://www.nongnu.org/oath-toolkit/ General help using GNU software: http://www.gnu.org/gethelp/

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2012-2020 Simon Josefsson.  
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

2.6.12-dirty libpskc

---

Document: pskc_strerror(3) from oath-toolkit 2.6.12-r13 (Chainguard OS)
Source: https://gitlab.com/oath-toolkit/oath-toolkit.git
