---
name: "dmmp_mpath_name_get"
section: "3"
platform: "linux"
package: "multipath-tools"
version: "0.15.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dmmp_mpath_name_get"
---

# dmmp\_mpath\_name\_get(3)

Retrieve name(alias) of certain mpath.

## NAME

dmmp\_mpath\_name\_get - Retrieve name(alias) of certain mpath.

## SYNOPSIS

**const char \* dmmp\_mpath\_name\_get** **(struct dmmp\_mpath \****dmmp\_mp***);**

## ARGUMENTS

- dmmp\_mp

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

## DESCRIPTION

Retrieve the name (also known as alias) of certain mpath. When the config 'user\_friendly\_names' been set 'no', the name will be identical to WWID retrieved by **dmmp\_mpath\_wwid\_get**.

## RETURN

const char \*. No need to free this memory, the resources will get freed when **dmmp\_mpath\_array\_free**.
