ERR_set_mark.pod 995 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. =pod
  2. =head1 NAME
  3. ERR_set_mark, ERR_pop_to_mark - set marks and pop errors until mark
  4. =head1 SYNOPSIS
  5. #include <openssl/err.h>
  6. int ERR_set_mark(void);
  7. int ERR_pop_to_mark(void);
  8. =head1 DESCRIPTION
  9. ERR_set_mark() sets a mark on the current topmost error record if there
  10. is one.
  11. ERR_pop_to_mark() will pop the top of the error stack until a mark is found.
  12. The mark is then removed. If there is no mark, the whole stack is removed.
  13. =head1 RETURN VALUES
  14. ERR_set_mark() returns 0 if the error stack is empty, otherwise 1.
  15. ERR_pop_to_mark() returns 0 if there was no mark in the error stack, which
  16. implies that the stack became empty, otherwise 1.
  17. =head1 COPYRIGHT
  18. Copyright 2003-2017 The OpenSSL Project Authors. All Rights Reserved.
  19. Licensed under the OpenSSL license (the "License"). You may not use
  20. this file except in compliance with the License. You can obtain a copy
  21. in the file LICENSE in the source distribution or at
  22. L<https://www.openssl.org/source/license.html>.
  23. =cut