diff options
Diffstat (limited to 'upstream/archlinux/man3/ERR_set_mark.3ssl')
-rw-r--r-- | upstream/archlinux/man3/ERR_set_mark.3ssl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/upstream/archlinux/man3/ERR_set_mark.3ssl b/upstream/archlinux/man3/ERR_set_mark.3ssl index 1c8dc3b6..08d804d3 100644 --- a/upstream/archlinux/man3/ERR_set_mark.3ssl +++ b/upstream/archlinux/man3/ERR_set_mark.3ssl @@ -55,14 +55,14 @@ .\" ======================================================================== .\" .IX Title "ERR_SET_MARK 3ssl" -.TH ERR_SET_MARK 3ssl 2024-01-30 3.2.1 OpenSSL +.TH ERR_SET_MARK 3ssl 2024-04-28 3.3.0 OpenSSL .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME -ERR_set_mark, ERR_clear_last_mark, ERR_pop_to_mark, ERR_count_to_mark \- set -mark, clear mark and pop errors until mark +ERR_set_mark, ERR_clear_last_mark, ERR_pop_to_mark, ERR_count_to_mark, ERR_pop \- +set mark, clear mark, pop errors until mark and pop last error .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 @@ -72,6 +72,7 @@ mark, clear mark and pop errors until mark \& int ERR_pop_to_mark(void); \& int ERR_clear_last_mark(void); \& int ERR_count_to_mark(void); +\& int ERR_pop(void); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" @@ -86,6 +87,9 @@ The mark is then removed. If there is no mark, the whole stack is removed. \&\fBERR_count_to_mark()\fR returns the number of entries on the error stack above the most recently marked entry, not including that entry. If there is no mark in the error stack, the number of entries in the error stack is returned. +.PP +\&\fBERR_pop()\fR unconditionally pops a single error entry from the top of the error +stack (which is the entry obtainable via \fBERR_peek_last_error\fR\|(3)). .SH "RETURN VALUES" .IX Header "RETURN VALUES" \&\fBERR_set_mark()\fR returns 0 if the error stack is empty, otherwise 1. @@ -95,6 +99,11 @@ error stack, which implies that the stack became empty, otherwise 1. .PP \&\fBERR_count_to_mark()\fR returns the number of error stack entries found above the most recent mark, if any, or the total number of error stack entries. +.PP +\&\fBERR_pop()\fR returns 1 if an error was popped or 0 if the error stack was empty. +.SH HISTORY +.IX Header "HISTORY" +\&\fBERR_pop()\fR was added in OpenSSL 3.3. .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright 2003\-2023 The OpenSSL Project Authors. All Rights Reserved. |