Peek at the newest error code and optionally its source file/line.
Declared in <openssl/err.h>
unsigned long
ERR_peek_last_error_line(
char const** file,
int* line);
Newest error code, or 0 if the queue is empty (queue unchanged).
| Name | Description |
|---|---|
| file | Receives the source file name associated with the error, or may be NULL. |
| line | Receives the source line number associated with the error, or may be NULL. |