dmi_error_clear

Synopsis

#include <opendmi/error.h>

void dmi_error_clear(dmi_context_t *context);

Description

The dmi_error_clear function removes all error descriptors from the error queue of context, freeing any associated message strings. After the call the queue is empty. If context is nullptr, the function does nothing.

Parameters

context

DMI context.

Errors

None.