dmmp_last_error_msg - Man Page

Retrieves the last error message.

Synopsis

const char * dmmp_last_error_msg (struct dmmp_context *ctx);

Arguments

ctx

Pointer of 'struct dmmp_context'. If this pointer is NULL, your program will be terminated by assert.

Description

Retrieves the last error message.

Return

const char *. No need to free this memory, the resources will get freed when dmmp_context_free.

Info

February 2021 Device Mapper Multipath API - libdmmp Manual