OpenBSD Handbook Manuals
Search

fido_strerr(3)

Canonical URL: /fido_strerr.3/

FIDO_STRERR(3) Library Functions Manual FIDO_STRERR(3)

fido_strerrFIDO2 error codes

/* -lfido2 -lcbor -lcrypto -lz */
#include <fido.h>

const char *
fido_strerr(int n);

The () function translates the error code n into a readable string, where n is an error code defined in <fido/err.h>. fido_strerr() never returns NULL. Returned pointers point to static strings.

OpenBSD 7.9 July 9, 2025 FIDO_STRERR(3)

Need conceptual guidance? Continue in the OpenBSD Handbook.