---
name: "dmmp_path_array_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_array_get"
---

# dmmp\_path\_array\_get(3)

Retrieve path pointer array.

## NAME

dmmp\_path\_array\_get - Retrieve path pointer array.

## SYNOPSIS

**void dmmp\_path\_array\_get** **(struct dmmp\_path\_group \****dmmp\_pg***,** **struct dmmp\_path \*\*\****dmmp\_ps***,** **uint32\_t \****dmmp\_p\_count***);**

## ARGUMENTS

- dmmp\_pg

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

- dmmp\_ps

  Output pointer of 'struct dmmp\_path' pointer array. If this pointer is NULL, your program will be terminated by assert.

- dmmp\_p\_count

  Output pointer of uint32\_t. Hold the size of 'dmmp\_ps' pointer array. If this pointer is NULL, your program will be terminated by assert.

## DESCRIPTION

The memory of output pointer array is hold by 'struct dmmp\_mpath', no need to free this memory, the resources will got freed when **dmmp\_mpath\_array\_free**.

## RETURN

void
