1ERR_SET_MARK(3)                     OpenSSL                    ERR_SET_MARK(3)
2
3
4

NAME

6       ERR_set_mark, ERR_pop_to_mark - set marks and pop errors until mark
7

SYNOPSIS

9        #include <openssl/err.h>
10
11        int ERR_set_mark(void);
12
13        int ERR_pop_to_mark(void);
14

DESCRIPTION

16       ERR_set_mark() sets a mark on the current topmost error record if there
17       is one.
18
19       ERR_pop_to_mark() will pop the top of the error stack until a mark is
20       found.  The mark is then removed.  If there is no mark, the whole stack
21       is removed.
22

RETURN VALUES

24       ERR_set_mark() returns 0 if the error stack is empty, otherwise 1.
25
26       ERR_pop_to_mark() returns 0 if there was no mark in the error stack,
27       which implies that the stack became empty, otherwise 1.
28
30       Copyright 2003-2017 The OpenSSL Project Authors. All Rights Reserved.
31
32       Licensed under the OpenSSL license (the "License").  You may not use
33       this file except in compliance with the License.  You can obtain a copy
34       in the file LICENSE in the source distribution or at
35       <https://www.openssl.org/source/license.html>.
36
37
38
391.1.1q                            2023-02-06                   ERR_SET_MARK(3)
Impressum