diff options
Diffstat (limited to 'man/fido_strerr.3')
-rw-r--r-- | man/fido_strerr.3 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/man/fido_strerr.3 b/man/fido_strerr.3 new file mode 100644 index 0000000..05c86b9 --- /dev/null +++ b/man/fido_strerr.3 | |||
@@ -0,0 +1,27 @@ | |||
1 | .\" Copyright (c) 2018 Yubico AB. All rights reserved. | ||
2 | .\" Use of this source code is governed by a BSD-style | ||
3 | .\" license that can be found in the LICENSE file. | ||
4 | .\" | ||
5 | .Dd $Mdocdate: May 25 2018 $ | ||
6 | .Dt FIDO_STRERR 3 | ||
7 | .Os | ||
8 | .Sh NAME | ||
9 | .Nm fido_strerr | ||
10 | .Nd FIDO 2 error codes | ||
11 | .Sh SYNOPSIS | ||
12 | .In fido.h | ||
13 | .Ft const char * | ||
14 | .Fn fido_strerr "int n" | ||
15 | .Sh DESCRIPTION | ||
16 | The | ||
17 | .Fn fido_strerr | ||
18 | function translates the error code | ||
19 | .Fa n | ||
20 | into a readable string, | ||
21 | where | ||
22 | .Fa n | ||
23 | is an error code defined in | ||
24 | .In fido/err.h . | ||
25 | .Fn fido_strerr | ||
26 | never returns NULL. | ||
27 | Returned pointers point to static strings. | ||