phpman > man > dmmp_strerror(3)

Markdown | JSON | MCP    

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



NAME
       dmmp_strerror - Convert error code to string.

SYNOPSIS
       const char * dmmp_strerror (int rc);

ARGUMENTS
       rc          int.  Return  code  by libdmmp functions. When provided error code is not a valid
                   error code, return "Invalid argument".

DESCRIPTION
       Convert error code (int) to string (const char *):

       * DMMP_OK -- "OK"

       * DMMP_ERR_BUG -- "BUG of libdmmp library"

       * DMMP_ERR_NO_MEMORY -- "Out of memory"

       * DMMP_ERR_IPC_TIMEOUT -- "Timeout when communicate with multipathd, try to set bigger  time‐
       out value via dmmp_context_timeout_set ()"

       * DMMP_ERR_IPC_ERROR -- "Error when communicate with multipathd daemon"

       * DMMP_ERR_NO_DAEMON -- "The multipathd daemon not started"

       *  DMMP_ERR_INCOMPATIBLE -- "The multipathd daemon version is not compatible with current li‐
       brary"

       * Other invalid error number -- "Invalid argument"

RETURN
       const char *. The meaning of provided error code.



March 2018                                  dmmp_strerror                           dmmp_strerror(3)

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-14 00:58 @216.73.216.200
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!