dmmp_last_error_msg(3) Device Mapper Multipath API - libdmmp Manual dmmp_last_error_msg(3)

dmmp_last_error_msg - Retrieves the last error message.

const char * dmmp_last_error_msg (struct dmmp_context *ctx);

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

Retrieves the last error message.

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

dmmp_last_error_msg March 2018