Peek at the newest error and optionally return file, line, function, data, and flags.
Synopsis
Declared in <openssl/err.h>
unsigned long
ERR_peek_last_error_all(
char const** file,
int* line,
char const** func,
char const** data,
int* flags);
Return Value
Newest error code, or 0 if the queue is empty (queue unchanged).
Parameters
Name |
Description |
file |
Receives the source file name, or unchanged if NULL. |
line |
Receives the source line number, or unchanged if NULL. |
func |
Receives the function name, or unchanged if NULL. |
data |
Receives optional auxiliary data, or unchanged if NULL. |
flags |
Receives ERR_TXT_* flags for |
Created with MrDocs