# phpman > man > dmmp_path_blk_name_get(3)

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



## NAME
       dmmp_path_blk_name_get - Retrieve block name.

## SYNOPSIS
       **const** **char** ***** **dmmp**___**path**___**blk**___**name**___**get** **(struct** **dmmp**___**path** *****_dmmp_p_**);**

## ARGUMENTS
       dmmp_p      Pointer  of  'struct  dmmp_path'.   If this pointer is NULL, your program will be
                   terminated by assert.

## DESCRIPTION
       Retrieve block name of certain path. The example of block names are "sda", "nvme0n1".

## RETURN
       const char *. No need to free this memory, the resources will get freed  when  **dmmp**___**mpath**___**ar**‐‐
       **ray**___**free**.



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