Peek at the newest error and optionally return auxiliary data and flags.

Synopsis

Declared in <openssl/err.h>

unsigned long
ERR_peek_last_error_data(
    char const** data,
    int* flags);

Return Value

Newest error code, or 0 if the queue is empty (queue unchanged).

Parameters

Name

Description

data

Receives optional auxiliary data, or unchanged if NULL.

flags

Receives ERR_TXT_* flags for data, or unchanged if NULL.

Created with MrDocs