dmmp_last_error_msg man page

dmmp_last_error_msg ā€” 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

September 2019 Device Mapper Multipath API - libdmmp Manual