# phpman > man > dmmp_mpath_name_get(3)

[dmmp_mpath_name_get(3)](https://www.chedong.com/phpMan.php/man/dmmpmpathnameget/3/markdown)      Device Mapper Multipath API - libdmmp Manual      [dmmp_mpath_name_get(3)](https://www.chedong.com/phpMan.php/man/dmmpmpathnameget/3/markdown)



## 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**___**ar**‐‐
       **ray**___**free**.



March 2018                               dmmp_mpath_name_get                  [dmmp_mpath_name_get(3)](https://www.chedong.com/phpMan.php/man/dmmpmpathnameget/3/markdown)
