diff options
author | schwarze <> | 2016-11-02 15:23:41 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-02 15:23:41 +0000 |
commit | 878e440382fa65ddbadca1d2784ef1210f0ff652 (patch) | |
tree | d746bbb5cfe6d085f48965873fc3db01fe55f4d6 /src/lib/libcrypto/man/ERR_set_mark.3 | |
parent | 0f15bae599b571173b77a87f7c4949ff89c55a23 (diff) | |
download | openbsd-878e440382fa65ddbadca1d2784ef1210f0ff652.tar.gz openbsd-878e440382fa65ddbadca1d2784ef1210f0ff652.tar.bz2 openbsd-878e440382fa65ddbadca1d2784ef1210f0ff652.zip |
convert ERR manuals from pod to mdoc; while reading this,
i wtfed, laughed, puked, and cried in more or less that order...
Diffstat (limited to 'src/lib/libcrypto/man/ERR_set_mark.3')
-rw-r--r-- | src/lib/libcrypto/man/ERR_set_mark.3 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/ERR_set_mark.3 b/src/lib/libcrypto/man/ERR_set_mark.3 new file mode 100644 index 0000000000..e268271418 --- /dev/null +++ b/src/lib/libcrypto/man/ERR_set_mark.3 | |||
@@ -0,0 +1,35 @@ | |||
1 | .Dd $Mdocdate: November 2 2016 $ | ||
2 | .Dt ERR_SET_MARK 3 | ||
3 | .Os | ||
4 | .Sh NAME | ||
5 | .Nm ERR_set_mark , | ||
6 | .Nm ERR_pop_to_mark | ||
7 | .Nd set marks and pop OpenSSL errors until mark | ||
8 | .Sh SYNOPSIS | ||
9 | .In openssl/err.h | ||
10 | .Ft int | ||
11 | .Fn ERR_set_mark void | ||
12 | .Ft int | ||
13 | .Fn ERR_pop_to_mark void | ||
14 | .Sh DESCRIPTION | ||
15 | .Fn ERR_set_mark | ||
16 | sets a mark on the current topmost error record if there is one. | ||
17 | .Pp | ||
18 | .Fn ERR_pop_to_mark | ||
19 | will pop the top of the error stack until a mark is found. | ||
20 | The mark is then removed. | ||
21 | If there is no mark, the whole stack is removed. | ||
22 | .Sh RETURN VALUES | ||
23 | .Fn ERR_set_mark | ||
24 | returns 0 if the error stack is empty, otherwise 1. | ||
25 | .Pp | ||
26 | .Fn ERR_pop_to_mark | ||
27 | returns 0 if there was no mark in the error stack, which implies that | ||
28 | the stack became empty, otherwise 1. | ||
29 | .Sh SEE ALSO | ||
30 | .Xr ERR 3 | ||
31 | .Sh HISTORY | ||
32 | .Fn ERR_set_mark | ||
33 | and | ||
34 | .Fn ERR_pop_to_mark | ||
35 | were added in OpenSSL 0.9.8. | ||