---
name: "dmmp_path_blk_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_path_blk_name_get"
---

# dmmp\_path\_blk\_name\_get(3)

Retrieve block name.

## 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\_array\_free**.
