0afa8e065e
git-subtree-dir: contrib/libfido2 git-subtree-mainline:d586c978b9
git-subtree-split:a58dee945a
28 lines
566 B
Groff
28 lines
566 B
Groff
.\" Copyright (c) 2018 Yubico AB. All rights reserved.
|
|
.\" Use of this source code is governed by a BSD-style
|
|
.\" license that can be found in the LICENSE file.
|
|
.\"
|
|
.Dd $Mdocdate: May 25 2018 $
|
|
.Dt FIDO_STRERR 3
|
|
.Os
|
|
.Sh NAME
|
|
.Nm fido_strerr
|
|
.Nd FIDO 2 error codes
|
|
.Sh SYNOPSIS
|
|
.In fido.h
|
|
.Ft const char *
|
|
.Fn fido_strerr "int n"
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Fn fido_strerr
|
|
function translates the error code
|
|
.Fa n
|
|
into a readable string,
|
|
where
|
|
.Fa n
|
|
is an error code defined in
|
|
.In fido/err.h .
|
|
.Fn fido_strerr
|
|
never returns NULL.
|
|
Returned pointers point to static strings.
|