diff options
-rw-r--r-- | src/lib/libcrypto/man/ERR.3 | 104 |
1 files changed, 2 insertions, 102 deletions
diff --git a/src/lib/libcrypto/man/ERR.3 b/src/lib/libcrypto/man/ERR.3 index 94e38b1645..b788942c4c 100644 --- a/src/lib/libcrypto/man/ERR.3 +++ b/src/lib/libcrypto/man/ERR.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ERR.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ | 1 | .\" $OpenBSD: ERR.3,v 1.3 2016/11/06 16:12:53 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .Dd $Mdocdate: November 6 2016 $ | 3 | .Dd $Mdocdate: November 6 2016 $ |
4 | .Dt ERR 3 | 4 | .Dt ERR 3 |
@@ -8,107 +8,6 @@ | |||
8 | .Nd OpenSSL error codes | 8 | .Nd OpenSSL error codes |
9 | .Sh SYNOPSIS | 9 | .Sh SYNOPSIS |
10 | .In openssl/err.h | 10 | .In openssl/err.h |
11 | .Ft unsigned long | ||
12 | .Fn ERR_get_error void | ||
13 | .Ft unsigned long | ||
14 | .Fn ERR_peek_error void | ||
15 | .Ft unsigned long | ||
16 | .Fo ERR_get_error_line | ||
17 | .Fa "const char **file" | ||
18 | .Fa "int *line" | ||
19 | .Fc | ||
20 | .Ft unsigned long | ||
21 | .Fo ERR_peek_error_line | ||
22 | .Fa "const char **file" | ||
23 | .Fa "int *line" | ||
24 | .Fc | ||
25 | .Ft unsigned long | ||
26 | .Fo ERR_get_error_line_data | ||
27 | .Fa "const char **file" | ||
28 | .Fa "int *line" | ||
29 | .Fa "const char **data" | ||
30 | .Fa "int *flags" | ||
31 | .Fc | ||
32 | .Ft unsigned long | ||
33 | .Fo ERR_peek_error_line_data | ||
34 | .Fa "const char **file" | ||
35 | .Fa "int *line" | ||
36 | .Fa "const char **data" | ||
37 | .Fa "int *flags" | ||
38 | .Fc | ||
39 | .Ft int | ||
40 | .Fo ERR_GET_LIB | ||
41 | .Fa "unsigned long e" | ||
42 | .Fc | ||
43 | .Ft int | ||
44 | .Fo ERR_GET_FUNC | ||
45 | .Fa "unsigned long e" | ||
46 | .Fc | ||
47 | .Ft int | ||
48 | .Fo ERR_GET_REASON | ||
49 | .Fa "unsigned long e" | ||
50 | .Fc | ||
51 | .Ft void | ||
52 | .Fn ERR_clear_error void | ||
53 | .Ft char * | ||
54 | .Fo ERR_error_string | ||
55 | .Fa "unsigned long e" | ||
56 | .Fa "char *buf" | ||
57 | .Fc | ||
58 | .Ft const char * | ||
59 | .Fo ERR_lib_error_string | ||
60 | .Fa "unsigned long e" | ||
61 | .Fc | ||
62 | .Ft const char * | ||
63 | .Fo ERR_func_error_string | ||
64 | .Fa "unsigned long e" | ||
65 | .Fc | ||
66 | .Ft const char * | ||
67 | .Fo ERR_reason_error_string | ||
68 | .Fa "unsigned long e" | ||
69 | .Fc | ||
70 | .Ft void | ||
71 | .Fo ERR_print_errors | ||
72 | .Fa "BIO *bp" | ||
73 | .Fc | ||
74 | .Ft void | ||
75 | .Fo ERR_print_errors_fp | ||
76 | .Fa "FILE *fp" | ||
77 | .Fc | ||
78 | .Ft void | ||
79 | .Fn ERR_load_crypto_strings void | ||
80 | .Ft void | ||
81 | .Fn ERR_free_strings void | ||
82 | .Ft void | ||
83 | .Fo ERR_remove_state | ||
84 | .Fa "unsigned long pid" | ||
85 | .Fc | ||
86 | .Ft void | ||
87 | .Fo ERR_put_error | ||
88 | .Fa "int lib" | ||
89 | .Fa "int func" | ||
90 | .Fa "int reason" | ||
91 | .Fa "const char *file" | ||
92 | .Fa "int line" | ||
93 | .Fc | ||
94 | .Ft void | ||
95 | .Fo ERR_add_error_data | ||
96 | .Fa "int num" | ||
97 | .Fa ... | ||
98 | .Fc | ||
99 | .Ft void | ||
100 | .Fo ERR_load_strings | ||
101 | .Fa "int lib" | ||
102 | .Fa "ERR_STRING_DATA str[]" | ||
103 | .Fc | ||
104 | .Ft unsigned long | ||
105 | .Fo ERR_PACK | ||
106 | .Fa "int lib" | ||
107 | .Fa "int func" | ||
108 | .Fa "int reason" | ||
109 | .Fc | ||
110 | .Ft int | ||
111 | .Fn ERR_get_next_error_library void | ||
112 | .Sh DESCRIPTION | 11 | .Sh DESCRIPTION |
113 | When a call to the OpenSSL library fails, this is usually signalled by | 12 | When a call to the OpenSSL library fails, this is usually signalled by |
114 | the return value, and an error code is stored in an error queue | 13 | the return value, and an error code is stored in an error queue |
@@ -296,4 +195,5 @@ and | |||
296 | .Xr ERR_print_errors 3 , | 195 | .Xr ERR_print_errors 3 , |
297 | .Xr ERR_put_error 3 , | 196 | .Xr ERR_put_error 3 , |
298 | .Xr ERR_remove_state 3 , | 197 | .Xr ERR_remove_state 3 , |
198 | .Xr ERR_set_mark 3 , | ||
299 | .Xr SSL_get_error 3 | 199 | .Xr SSL_get_error 3 |