dmmp_...s_str(3)

πŸ“¦
version 0.15.1 Β· 3 versions
, in arch rolling, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ¦‹ NAME πŸ¦‹

okay so first things first: this page is from the Device Mapper Multipath API - libdmmp Manual, and the star of the show is dmmp_path_status_str β€” she converts path status to a string. that's it. that's the function. no cap πŸ’…


✨ SYNOPSIS ✨

const char * dmmp_path_status_str (uint32_t path_status);

πŸ“ ARGUMENTS πŸ“

  • path_status β€” a uint32_t. it's the path status, bestie. and when the value you provide is not a valid path status, she returns "Invalid argument". periodt.

πŸ’– DESCRIPTION πŸ’–

she converts the path status uint32_t into a string (const char *). here's the whole mapping, no skips, no edits:

  • DMMP_PATH_STATUS_UNKNOWN β€” "undef"
  • DMMP_PATH_STATUS_DOWN β€” "faulty"
  • DMMP_PATH_STATUS_UP β€” "ready"
  • DMMP_PATH_STATUS_SHAKY β€” "shaky"
  • DMMP_PATH_STATUS_GHOST β€” "ghost"
  • DMMP_PATH_STATUS_PENDING β€” "pending"
  • DMMP_PATH_STATUS_TIMEOUT β€” "timeout"
  • DMMP_PATH_STATUS_REMOVED β€” "removed"
  • DMMP_PATH_STATUS_DELAYED β€” "delayed"

🌈 RETURN 🌈

she gives you back a const char * β€” the meaning of the status value. iconic.


that's the whole vibe 🫢 this page is dated June 2025, it's all about dmmp_path_status_str, and it lives in section dmmp_...s_str(3). mwah πŸ’‹