ERR_remove_state.pod 664 B

12345678910111213141516171819202122232425262728293031323334
  1. =pod
  2. =head1 NAME
  3. ERR_remove_state - free a thread's error queue
  4. =head1 SYNOPSIS
  5. #include <openssl/err.h>
  6. void ERR_remove_state(unsigned long pid);
  7. =head1 DESCRIPTION
  8. ERR_remove_state() frees the error queue associated with thread B<pid>.
  9. If B<pid> == 0, the current thread will have its error queue removed.
  10. Since error queue data structures are allocated automatically for new
  11. threads, they must be freed when threads are terminated in order to
  12. avoid memory leaks.
  13. =head1 RETURN VALUE
  14. ERR_remove_state() returns no value.
  15. =head1 SEE ALSO
  16. L<err(3)|err(3)>
  17. =head1 HISTORY
  18. ERR_remove_state() is available in all versions of SSLeay and OpenSSL.
  19. =cut