# dmmp_path_group_array_get(3) - man - phpman

[dmmp_path_group_array_get(3)](https://www.chedong.com/phpMan.php/man/dmmppathgrouparrayget/3/markdown)Device Mapper Multipath API - libdmmp [Manualdmmp_path_group_array_get(3)](https://www.chedong.com/phpMan.php/man/Manualdmmppathgrouparrayget/3/markdown)



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

## RETURN
       void



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