---
name: "dmmp_path_group_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_group_array_get"
---

# dmmp\_path\_group\_array\_get(3)

Retrieve path groups pointer array.

## NAME

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

## SYNOPSIS

**void dmmp\_path\_group\_array\_get** **(struct dmmp\_mpath \****dmmp\_mp***,** **struct dmmp\_path\_group \*\*\****dmmp\_pgs***,** **uint32\_t \****dmmp\_pg\_count***);**

## ARGUMENTS

- dmmp\_mp

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

- dmmp\_pgs

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

- dmmp\_pg\_count

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

## DESCRIPTION

Retrieve the path groups of certain mpath.

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
