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

SEE ALSO

30       err(3)
31

HISTORY

33       ERR_set_mark() and ERR_pop_to_mark() were added in OpenSSL 0.9.8.
34
35
36
370.9.8b                            2003-06-11                   ERR_set_mark(3)
Impressum