the same as ERR_peek_error() and ERR_peek_last_error(), but on success they additionally store additional data and flags associated with the error code in *<i>data</i> and *<i>flags</i>, as far as they are not NULL. Unset data is indicated as &quot;&quot;. In this case the value given for the flag is irrelevant (and equals 0). *<i>data</i> contains a string if *<i>flags</i>&amp;<b>ERR_TXT_STRING</b> is true.</p>

<p>ERR_peek_error_all() and ERR_peek_last_error_all() are combinations of all of the above.</p>