# phpman > man > dmmp_path_array_get(3)

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



## 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 mem‐
       ory, the resources will got freed when **dmmp**___**mpath**___**array**___**free**.

## RETURN
       void



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